Last post Mar 27, 2013 12:25 PM by Garcam
Mar 25, 2013 05:04 PM|Garcam|LINK
Hello, I am starting to use WS with SOAP and isn't clear for me how to use the wsdl, I want to use a file http://xxxxxxx/SessionCreate.wsdl and there are other files (i.e. SessionCreate.xml, SessionClose.xml, etc.) that I should to use as structures (schemas)
to send requests using SOAP protocol.
I read many tutorials and many posts, I did my own web service in VS and consumed it (not using SOAP), after, I tried to add a Web Reference using the wsdl file URL but I dont know how to use it to send a SOAP request implementing the XML structure in the other
After the add of a Web Refrence using the wsdl URL ("Right click on project"->Add Service Reference->"Paste URL"->Go->Accept) you know, I wrote this in my code, and it's right (I think):
SessionCreateRQ initSession = new SessionRequestRQ();
From here I don't know what is the next step, to send my SOAP request.
Thanks for your precious help
Mar 25, 2013 05:42 PM|madhu1234|LINK
Check if this gives you an idea...
Mar 25, 2013 06:42 PM|sukumarraju|LINK
After the add of a Web Refrence using the wsdl URL ("Right click on project"->Add Service Reference->"Paste URL"->
It is Service reference NOT the Web reference.
Let me know further queries.
Mar 26, 2013 01:08 AM|Garcam|LINK
I'll check your sugestions, thank you.
Mar 27, 2013 12:25 PM|Garcam|LINK
Hi friends, finally I decided for the HttpWebRequest method to send my SOAP request and to catch the response, for my purposes works fine, and it allows a better manipulation of the data that I need. On the other hand I like to lear more about the web references
and how to implement it, but by the moment I'll work with web request method.
Thanks for your help.