SOAP messages with attachments - Writing the WSDL extensions

 

Usage Scenario

The following example WSDL illustrates a simple operation that has one attachment called attch

<binding name="MyBinding" type="tns:abc" >
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="MyOperation">
    <soap:operation soapAction=""/>
    <input>
      <mime:multipartRelated>
        <mime:part>
          <soap:body use="encoded" namespace="http://mynamespace"
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
        </mime:part>
        <mime:part>
          <mime:content part="attch" type="text/html"/>
        </mime:part>
      </mime:multipartRelated>
    </input>
  </operation>
</binding>

In this type of WSDL extension...

 

See Also

Passing SOAP messages with attachments using WSIF
SOAP messages with attachments - Passing attachments to WSIF
SOAP messages with attachments - Working with types and type mappings