Export (0) Print
Expand All

SPROXY Error SDL1018

cannot have multiple "in" headers with the same name, with

  [

    namespace = " namespace "

    name = " name "

  ]

SPROXY has encountered an operation with multiple input headers that have the same name.

Example

In the following example, the operation RetValFrom1HeaderHeader1 has two input headers named Header1 (shown in bold). This triggers SDL1018.

<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/encoding/" />
        <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/" />
      <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

Community Additions

ADD
Show:
© 2014 Microsoft