Analyzing the SOAP Packets
As you might have guessed by looking at the logged data, the client and server in the Bank project are using SOAP as messaging protocol. This is the default encoding .NET uses for remoting. You will see how to switch to binary encoding later in this chapter.
A SOAP message is an XML document formally called Envelope having the structure shown in Figure 30.6.
Figure 30.6. Envelope structure.
The SOAP Header part is optional and pretty much open for any use as of today. You can use headers to pass additional information related to the processing of the message and allow a SOAP message to be extended in an application-specific ...