Montie Posted December 3, 2004 Posted December 3, 2004 I want to use a web service, for which I do have examples of both request and response XMLs (with SOAP envelopes), but it would be very convenient if I had a WDSL document describing the service. I checked for it, using disco.exe, but nothing was found and I suppose that it doesn't exists. The question is... Can I make WDSL document from the XMLs I do have? Is there a tool for it to do it automatically, or at least to help it? Quote
*Gurus* Derek Stone Posted December 4, 2004 *Gurus* Posted December 4, 2004 Run the XML file through xsd.exe (Microsoft .NET SDK), which will generate an XSD schema. You can then run the XSD through wsdl.exe (Microsoft .NET SDK) which will generate the Visual Basic, C# or Visual J# code for you. Quote Posting Guidelines
Montie Posted December 6, 2004 Author Posted December 6, 2004 I ran xsd.exe with name.xml as an argument and it made two xsd files (name.xsd and name_app1.xsd). Then, when I tried to run wsdl.exe with only the first file (name.xsd), I got an error that schema could not be validated. When I put both files as arguments, there was no error, but just a message "Warning: no classes were generated"... ? p.s. Is the output class that I should get with wsdl.exe the same as the one that I can get with running xsd.exe with /classes as an additional argument? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.