NTGuru705
asked on
Develop a XML Schema - VB.net 2005
I am looking to design a webservice that will take in an XML document and generate an order based on this document. My question is how does one typically go about designing the schema for this XML document. Are these things typically coded by hand or are there tools to help me with this. I will essentially pull the document in and then based on tthe loops I find in the document I will run some procs to generate orders and then return a class back to the user.
Any tips on how to layout the schema would be appreciated.. .
I will be developing in VS.2005.
Thanks
Any tips on how to layout the schema would be appreciated.. .
I will be developing in VS.2005.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nope.. I mean you are going to write a method called CreateOrder and it will take an XML document as a parameter..
From this XML document you will generate the orders... The document does not exist and the process does not exists.. I know what fields I need and I know how they relate but is my only option here to generate this schema by hand? I dont have an XML document yet.. I am just getting started.
Thanks
From this XML document you will generate the orders... The document does not exist and the process does not exists.. I know what fields I need and I know how they relate but is my only option here to generate this schema by hand? I dont have an XML document yet.. I am just getting started.
Thanks
You can generate the XML document as you want, and then infer the schema from the document.
Bob
Bob
ASKER
ahh crud... ok thanks.. just didnt know if there was a tool out there that aided in this process
thanks
thanks
ASKER
To infer the schema from the document I would do what now?
; )
Thanks
; )
Thanks
xsd document.xml /l:VB
Bob
Bob
Using the XSD Inference Utility
http://msdn2.microsoft.com/en-us/library/Aa302302.aspx
Bob