Hi All,
I want to know that how SOAP Request and Response Message communicate with web services. I am converting SOAP Request and Response in XML format. But i am not getting the concept how it is communicating with WebServices. Is it creating Proxy Class internally to communicate WebServices. Pls, give a small example to get the concept of communication.
Thanks and Regards,
Sham
Loading
Jack MonopPosted Jun 29, 2010, 11:21 AM
It all depends. If you call the web service from Visual Studio, you can create a proxy class, then from your client, you just instantiate a proxy object, then call the web service through this proxy object. The proxy object will manage the communication between your client and the web services (using http/get/post, socket, or channel, or whever mechanisms).
If you call the web service with raw SOAP request XML string, you can open a connection programmingly to the web service, then pass the SOAP XML string to the service. The service will give you back a SOAP XML response string (or a fault), and you have to parse this response back to your objects.