netwebservices.jpg (2814 bytes)

Writing Web Service Clients

Here are a few examples on how to write a web service client

HTTP GET
When a request is sent to the server, ASP.NET parses the parameters from the URL string, creates the object and call the method.  ASP.NET then takes the value from the method and formats it into XML, and returns XML to the client.

HTTP Post
A request is sent to the servier, ASP.NET creates the object specified, pulls the parameters from the form’s controls, and calls the programmed method, formats into XML and returns tot he client.

Raw SOAP
SOAP is Simple Object Access Protocol, an XML vocabulary that describes function calls and their parameters.  When the SOAP packet reaches the server, ASP.NET recognizes it, parses the method name and parameters out of the packet, creates the object, and makes the call.  It takes the return value from the method and formats it in XML, which is returned to the client.