Soap Attachment
- soap attachment profile
- This document defines the WS-I Attachments Profile 1.0, consisting of a set of non-proprietary Web services specifications, along with clarifications and amendments to those specifications that are intended to promote interoperability. This profile complements the WS-I Basic Profile 1.1 to add support for interoperable SOAP Messages with Attachments-based Web services.
Bpel, Simple Synchronous Sample
WSDL configuration
<message name="requestMessage">
<part name="inputType" element="ns:typeA"/>
<part name="image" type="xsd:base64Binary"/>
</message>
<message name="responseMessage">
<part name="resultType" element="ns:typeA"/>
<part name="image" type="xsd:base64Binary"/>
</message>
<binding name="binding1" type="tns:portType1">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="operation1">
<input name="input1">
<mime:multipartRelated>
<mime:part>
<soap:body parts="inputType" use="literal"/>
</mime:part>
<mime:part>
<mime:content part="image" type="image/jpeg"/>
</mime:part>
</mime:multipartRelated>
</input>
<output name="output1">
<mime:multipartRelated>
<mime:part>
<soap:body parts="resultType" use="literal"/>
</mime:part>
<mime:part>
<mime:content part="image" type="image/jpeg"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
</binding>
SoapUI
Attached Project
Synchronous Sample
This page (revision-6) was last changed on
06-Nov-08 21:04 PM, -0800
by sujit.
This page was created on
06-Nov-08 16:50 PM, -0800 by sujit.
More info...