MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework
by Amit Kalani, Priti Kalani
Controlling XML Wire Format
Create and Consume an XML Web service: Control XML wire format for an XML Web service.
So far in this book I've been treating the SOAP format as if it were completely specified by the SOAP standard. But in fact the standard allows a good deal of flexibility in converting objects to XML messages. There are variations in formatting for both the parameters within the body of a SOAP message and for the format of the body itself:
Literal parameter formatting formats parameters according to an XSD schema. This is the default parameter formatting for .NET Web services.
Encoded parameter formatting formats parameters according to what are called the SOAP Section 5 encoding rules. These rules encode data type information directly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access