Understanding Document-Style and RPC-Style WSDL Differences
The examples provided in previous sections of this chapter have been for document-style WSDL files in which a message is defined with an XML schema element
, as shown in he following example:
<message name="LoanFlowRequestMessage"> <part name="payload" element="s1:loanApplication"/> </message>
This is in contrast to RPC-style WSDL files, in which the message is defined with an XML schema type
, as shown in the following example:
<message name="LoanFlowRequestMessage"> <part name="payload" type="s1:LoanApplicationType"/> </message>