SOAP Request and Response Message Structure
When you write a Visual Studio 2005 client application for sending SOAP requests to an instance of SQL Server 2005, you do not have to know the contents of the SOAP request and response messages that are exchanged. Visual Studio 2005 creates the required proxy class, and you request a SOAP operation as you would any other method. A method call from a Visual Studio 2005 client automatically generates the appropriate SOAP request. The instance of SQL Server 2005 internally processes the request and returns the appropriate results, such as an object array or a single DataSet object.
Instead of relying on the default implementation that is provided by Visual Studio 2005, you can write a SOAP client application that builds its own requests and processes the responses. To write your own SOAP client application, you must know both the SOAP request message format and the structure of a SOAP response. This information is provided in the following topics: