-
Article: Sending Attachments with SOAP (5 messages)
- Posted by: Joseph Ottinger
- Posted on: October 01 2007 15:40 EDT
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)
- jax-ws compatibility by Time PassX on October 03 2007 21:46 EDT
- Re: jax-ws compatibility by Michael Galpin on October 04 2007 10:17 EDT
- jax-ws attachments support by Svetozar Misljencevic on October 07 2007 06:43 EDT
- Re: jax-ws compatibility by Michael Galpin on October 04 2007 10:17 EDT
- Re: Article: Sending Attachments with SOAP by Andrew Pym on October 30 2007 16:16 EDT
- Re: Article: Sending Attachments with SOAP by Ant Kutschera on December 22 2009 16:53 EST
-
jax-ws compatibility[ Go to top ]
- Posted by: Time PassX
- Posted on: October 03 2007 21:46 EDT
- in response to Joseph Ottinger
I am having issues with Axis2 MTOM (server/client) & Sun jax-ws ri(client/server) implementations. Are they compatible? -
Re: jax-ws compatibility[ Go to top ]
- Posted by: Michael Galpin
- Posted on: October 04 2007 10:17 EDT
- in response to Time PassX
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 -
jax-ws attachments support[ Go to top ]
- Posted by: Svetozar Misljencevic
- Posted on: October 07 2007 06:43 EDT
- in response to Michael Galpin
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 -
Re: Article: Sending Attachments with SOAP[ Go to top ]
- Posted by: Andrew Pym
- Posted on: October 30 2007 16:16 EDT
- in response to Joseph Ottinger
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. -
Re: Article: Sending Attachments with SOAP[ Go to top ]
- Posted by: Ant Kutschera
- Posted on: December 22 2009 16:53 EST
- in response to Joseph Ottinger
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