I had been using Apache SOAP for a service I developed.
This service includes a few methods that return MIME attachements using
SwA.
The attachment was returned as an instance of a DataHandler which I
created from a
ByteArrayDataSource
Example:
DataSource ds = new ByteArrayDataSource( new File( audioClipFilePath ),
null );
DataHandler dh = new DataHandler( ds );
After looking through the examples for Axis, I'm left wondering how I
can do the equivalent of the above.
The ByteArrayDataSource was part of the Apache SOAP mime utils package.
DataHandler was serialized/deserialized by Apache SOAP as a MIME
attachment, but Axis isn't creating
a SwA return with MIME in such cases.
- Ken
