Advantages and Disadvantages of Using the Document/Literal Messaging Mode
  • Using the document/literal mode of messaging has the following advantages:
    • You do not have to specify the data type in the SOAP message.
    • You can use any XML validator program to validate the message.
    • The document/literal mode is better suited for asynchronous processing because it does not use method calls.
  • Using the document/literal mode of messaging has the following limitations:
    • The WSDL document becomes a little more complicated.
    • Message processing is difficult because there is no element within the SOAP message that directly corresponds to the operation specified in the WSDL document that is being called.
    • Message dispatching is difficult or impossible because the operation name in the SOAP message is lost.

  » View Media Description
Click the Next button to continue.