Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a XSD which was used previously to write JAVA services. This XSD now needs to be re-used to generate WCF operation contracts and data contracts. There are 3 XSDs infact. The main XSD is having the reference of other two. Can someone suggest any tool which can generate the WCF service Contracts from the XSD? Manually writing codes from the XSD is not feasible.
Posted

1 solution

Consider to use XmlSerializer.
Please read Code Generation in the .NET Framework Using XML Schema[^] for more information.
 
Share this answer
 
Comments
Member 10544788 5-Feb-14 11:20am    
I want a tool which will generate the service classes from the XSD. Is there any reliable tool present to serve the purpose? Will XSD2Code tool help?
skydger 6-Feb-14 3:52am    
Yes, it should work. As far as I know datacontract attributes can be obtained by /dc comand prompt key.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900