SOAP WSDLs - RPC/Encoded

Example of the SOAP message

            <x xsi:type="xsd:int">5</x>
            <y xsi:type="xsd:float">5.0</y>

There are a number of things to notice about the WSDL and SOAP message for this RPC/encoded example:


  1. The WSDL is about as straightforward as it's possible for WSDL to be.
  2. The operation name appears in the message, so the receiver has an easy time dispatching this message to the implementation of the operation


  1. The type encoding info (such as xsi:type=“xsd:int”) is usually just overhead which degrades throughput performance.
  2. You cannot easily validate this message since only the <x …>5</x> and <y …>5.0</y> lines contain things defined in a schema; the rest of the soap:body contents comes from WSDL definitions.
  3. Although it is legal WSDL, RPC/encoded is not WS-I compliant.
developer/rpc_encoded.txt · Last modified: 2011/03/02 13:35 by irina

Page Tools