SOAP with Attachments (1.0)

This is one of the two ways to send binary files with SOAP requests; the one that all the JAX-RPC implementations support -including Axis.

To use attachments in Axis, client side or server side, you need the appropriate JARs : activation.jar and mail.jar; j2ee.jar includes the contents of these libraries. Without them, you get 'No attachment support' error messages.

In late March 2003, there was a new proposal for an enhanced way of attaching stuff, effectively using new XML tags and some XML pre-parser thingy to pull the attachments into the XML itself, making them look like base-64 content in the message, and not things alongside it. Axis has no support for this whatsoever.

SwA (last edited 2009-09-20 23:31:34 by localhost)