Understanding SOAP
Understanding SOAP
Kenn Scribner
Mark C. Stiver
Header
Body
<Envelope>
<Header>
<transId>1234</transId>
</Header>
<Body>
<AddResponse>
<c>7</c>
</AddResponse>
</Body>
</Envelope>
<?xml version="1.0"?>
<schema
targetNamespace="http://example.com/stockquote.xsd"
xmlns="http://www.w3.org/1999/XMLSchema">
<element name="TradePriceRequest">
<complexType>
<all>
<element name="tickerSymbol" type="string"/>
</all>
</complexType>
</element>
<element name="TradePrice">
<complexType>
<all>
<element name="price" type="float"/>
</all>
</complexType>
</element>
</schema>
SOAP
Envelope/Header/Body Envelope/Header/Body
Message Encoding Message Encoding