Another way to extend SOAP is through messaging styles. The format or the style of a SOAP message determines how messages are exchanged between applications. SOAP supports both document and RPC styles.
In a document-style SOAP message, the transaction between applications is through XML documents. The request and response messages are exchanged as documents between applications. Further, document-style SOAP messages follow a request-response form of communication, which is asynchronous in nature. In this form of communication, the sender does not wait for the server to respond to the request.
In the code example, the Body element encloses a document named LibraryStock.
|