JAXWS: Add Dispatch<SOAPMessage> Provider<SOAPMessage> Support with SWA/MTOM
Attachments
----------------------------------------------------------------------------------------
Key: AXIS2-1671
URL: http://issues.apache.org/jira/browse/AXIS2-1671
Project: Apache Axis 2.0 (Axis2)
Issue Type: Improvement
Reporter: Rich Scheuerle
For Dispatch<SOAPMessage> and Provider<SOAPMessage>, the customer's SOAPMessage
may contain AttachmentParts.
These AttachmentParts may be MTOM or SWA style.
Major Changes:
* The MessageUtils class contains methods to "get JAX-WS Message from an Axis2
MessageContext" and "put JAX-WS Message onto a n Axis2 MessageContext".
These methods are upgraded to handle both MTOM and SWA Attachments.
* The ProviderDispatcher is upgraded to inspect the binding to determine
whether to enable MTOM on the Axis2 MessageContext.. This is similar to the
code already present in JavaDispatcher.
* Added code to the JAXBAttachmentMarshaller to handle SWA Attachments (I don't
have a test for this).
* Added Dispatch<SOAPMessage> tests for 4 cases: (1) xml only (2) xml and mtom
(3) xml and swa (with ref) (4) xml and swa (no ref)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]