I have a SOAP response with 2 attachments.  Both attachments are
optional.  I can't find how to specify attachment part occurrence in a
wsdl.  I haven't added the second attachment part yet.

I have:

<message name="PreviewResponse">
        <part name="PreviewResponsePart" type="ext:ResponseType"/>
//This is body xml
        <part name="ContentPart" type="xsd:base64Binary"/>
</message>

<binding name="PreviewReportBinding" type="ext:PreviewReportPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document"/>
        <operation ....>
                <soap:operation ..../>
                <input>
                        ....
                </input>
                <output>
                        <mime:multipartRelated>
                                <mime:part>
                                        <soap:body use="literal"/>
                                </mime:part>
                                <mime:part>
                                        <mime:content part="ContentPart"
type="text/binary"/>   //This is the optional attachment.
                                </mime:part>
                        </mime:multipartRelated>
                </output>
        </operation>
</binding>

Thanks in advance for any help.


-Steve Pruitt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to