I tried a sample like this and it worked fine in the nightly build.  Looks
like it didn't work in release 1.

<definitions xmlns="http://ws.apache.org/ns/synapse";>
    <proxy name="MTOMSwASampleServiceProxy">
        <target>
            <inSequence>
                <send>
                    <endpoint>
                        <address uri="
http://localhost:9001/soap/MTOMSwASampleService"; optimize="swa"/>
                    </endpoint>
                </send>
            </inSequence>
            <outSequence>
                <send/>
            </outSequence>
        </target>
        <publishWSDL
uri="file:repository/conf/sample/resources/proxy/MTOMSwASampleService.wsdl"/>

    </proxy>
</definitions>

Upul


On 10/16/07, Anthony Bull <[EMAIL PROTECTED]> wrote:
>
> Hi, can anyone tell me how to get my Synapse proxy to correctly pass
> through Soap with Attachments (multi-part mime) messages?  I have the
> optimize="swa" attribute set on my address endpoint, but everytime a SWA
> response message goes through Synapse it still removes the SWA part,
> including all the multi-part mime boundary markers.
>
> cheers,
> Anthony.
>
> --
>
> Anthony
> -------------------------------------
> Anthony Bull
> Senior Developer
> Black Coffee Software Ltd
> PO Box 10-192 The Terrace
> Wellington, New Zealand
>
> [EMAIL PROTECTED]
> Ph  +64 4 472 8818
> Fax +64 4 472 8811
> -------------------------------------
> www.bcsoft.co.nz
> ---------------------------------------------------------------
> This email may contain confidential or privileged information,
> and is intended for use only by the addressee, or addressees.
> If you are not the intended recipient please advise the sender
> immediately and do not copy, use or disclose the contents to
> any other person or organisation.
> Black Coffee Software Ltd accepts no responsibility for viruses
> received with this email, or to any changes made to the original
> content. Any views or opinions expressed in this email may be
> personal to the sender and are not necessarily those of Black
> Coffee Software Ltd.
> ---------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to