Embedded XML

The growth of XML has been remarkable, and it has many developers just looking for a reason to use it. But because XML is being used so frequently, it brings up some important questions about how it should be used in combination with XML messaging. Let's first take a closer look at the issues, and then we'll introduce some ideas that you will want to consider.

Entity References

You already know that a SOAP message is nothing more than an XML document that applies some packaging and encoding rules to information. Listing 9.1 shows an example SOAP request message for a simple message logging operation. In this case, clients can log arbitrary messages with the logging service.

Listing 9.1. SOAP LogMessage Operation
 <SOAP-ENV:Envelope ...

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.