There actually isn't
any xsd mapping for the DataHandler. Some MIME savvy implementations actually
generate MIME sections in the description of the response in the WSDL, however
getting this to interpolate is proving to be less than
trivial.
The best way I have
found so far is to manually add the attachments to the message and simply be
aware that the specific client you are working with (regardless of platform)
needs to parse attachments (most SOAP implementations include some sort of
mechanism for this).
Beware, Microsuks
.NET Framework (Enhancment 1.0) ONLY supports DIME encoded messages that
include atachments (as opposed to MIME which most other popular Java
implementations use). Seems so surprising that microsoft would forse there
development methods on the development community like that... strange
:)
Steve Louhran has
written and submitted a document to this list that is rather help full in this
very topic. I highly recommend it, I think it covers exactly what you are
looking for.
|
- calling SOAP with attachments from non java application Praveen Peddi