Web Service Description Language
Since SOAP's conception, the designers planned for it to support a type system—the one they chose was XML Schema. The SOAP specification enables you to describe type information in one of two ways.
NOTE
Section 5 of the SOAP specification defines one possible way to encode SOAP messages, specifically with regard to arrays, references, structs, and so on. This plays a part in self-describing messages—information such as jagged arrays must be described within the message because you don't know the size of its contents until serialization time. A similar parallel can be drawn with polymorphic types.
The first way relies on the use of the xsi:type attribute within your SOAP messages. In this way, each message can ...
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.