Article: Sending Attachments with SOAP

Discussions

News: Article: Sending Attachments with SOAP

  1. Article: Sending Attachments with SOAP (5 messages)

    SOAP applications often have to deal with more than just simple messages. The payload for a SOAP message can often include a word processing or PDF document, image, or other binary file. This article by Michael Galpin explains how to use the Message Transmission Optimization Mechanism (MTOM) to send and receive these messages.

    Threaded Messages (5)

  2. jax-ws compatibility[ Go to top ]

    I am having issues with Axis2 MTOM (server/client) & Sun jax-ws ri(client/server) implementations. Are they compatible?
  3. Re: jax-ws compatibility[ Go to top ]

    I think JAX-WS only supports SOAP with Attachments (SwA), not MTOM. However, MTOM is designed to be "backwards compatible" with SwA. Here's the official Axis2 documentation: http://ws.apache.org/axis2/1_1_1/mtom-guide.html#3
  4. I think JAX-WS only supports SOAP with Attachments (SwA), not MTOM. However, MTOM is designed to be "backwards compatible" with SwA. Here's the official Axis2 documentation: http://ws.apache.org/axis2/1_1_1/mtom-guide.html#3
    I think that JAX-WS (or Metro) supports SwARef and MTOM
  5. The Payload approach can also be used for large XML documents or text documents. Combined with an optional Zip compression which is cross-platform you can minimise the size of the 4:3 binary encoding. The key is adding enough meta-data into the SOAP message. eg boolean isZipped string TargetSystem ..... It is a great way of exposing Web Services from an ESB or orchestration server. The ESB can process the payload and direct to the end point without having to parse the actual payload.
  6. i had no end of problems getting JAX-WS to work simply with attachments, so ive blogged about the solution at http://blog.maxant.co.uk/pebble/2009/12/22/1261517160000.html