The SOAP Envelope

The SOAP Envelope, as serialized by .NET, is shown in Listing 4.1.

Listing 4.1. The .NET SOAP Envelope Encoding
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:tns="http://tempuri.org/"
 xmlns:types="http://tempuri.org/encodedTypes"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Header/>
   <soap:Body/>
</soap:Envelope>

Serialization refers to the process of turning actual method parameter information at the time that the Web Service is invoked into a SOAP XML packet. In this case, you see only the namespaces associated with the XML. You'll see example parameters ...

Get Applied SOAP: Implementing .NET XML Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.