Null DataHandler objects as MIME attachments
--------------------------------------------
Key: AXIS2-3963
URL: https://issues.apache.org/jira/browse/AXIS2-3963
Project: Axis 2.0 (Axis2)
Issue Type: Improvement
Components: jaxws
Environment: windows
Reporter: Samuel Isokpunwu
Using SWA- raw MIME attachments, it is desireable to be able specify a null
DataHandler object as a method parameter
when there is no attachment to be returned. (For example, in a document
retrieval service when the document image is
not found). Both client and server threw NPE's when this happened.
This change allows this to work.
The resulting soap message message is a mime type message with only one part,
the soap envelope. This is allowable
per WS-I.Attachment Profile 1.0 clause R2917.
Code description and implementation was originally done by Bruce
Tiffany/Austin/[EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]