This documentation is archived and is not being maintained.

SPROXY Error SDL1024

unsupported encodingStyle : " encoding_style ".

SPROXY has encountered an operation that meets these conditions:

  • style="rpc"

  • use="encoded"

  • has an input or output element that has a <soap:body> or <soap:header> element with an invalid encodingStyle attribute

In this situation, the only valid encodingStyle attribute value is "http://schemas.xmlsoap.org/soap/encoding/".

Example

In the following example, the <soap:body> in bold has an invalid encodingStyle ("...encodingx/" instead of "...encoding/"). This will trigger SDL1024.

<binding name="ValFrom1HeaderSoap" type="tns:ValFrom1HeaderSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
    <operation name="RetValFrom1Header">
      <soap:operation soapAction="http://tempuri.org/RetValFrom1Header" style="rpc" />
      <input>
        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encodingx/" />
        <soap:header n1:required="true" message="tns:RetValFrom1HeaderHeader1" part="Header1" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
      </input>
      <output>
        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
  </binding>

See Also

Show: