Using Dispatch with MTOM and WSSE

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Using Dispatch with MTOM and WSSE


Having an issue with receiving MTOM message attachments with Metro when using WSSE.

Currently using SOAPSourceDispatch to send a SOAP request and receive a SOAP response containing MTOM attachments. The client can successfully receive the SOAP response and the MTOM attachments.

When WSSE is not enabled, the attachments are inlined in base64 as part of the SOAP response in the final Source output. However, when WSSE is enabled this does not occur, and the attachments are lost, with the final Source output containing an XOP:Include reference to the attachment.

Is this the appropriate way to implement MTOM with WSSE using Metro, or is there another method which should be used?