JAXWS: MTOM attachment is lost if outbound JAXWS handler is installed
---------------------------------------------------------------------

                 Key: AXIS2-3925
                 URL: https://issues.apache.org/jira/browse/AXIS2-3925
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


Problem Description:
The JAXWS message's internal form is converted from OM to SAAJ when a JAXWS 
SOAP handler is called.  After the SOAP handler chain completes, the SAAJ 
message is converted back into OM.
Currently, if the OM contains an MTOM attachment, the attachment is lost during 
the SAAJ -> OM conversion. 

Solution:
The solution is very simple.  The SAAJConverter code is used to convert the 
SAAJ message back to OM.  In my sandbox, I have modified this code to 
optionally accept an OM AttachmentMap.  
I also have a added a unit test to verify the code.

I will commit this change after I complete a few more tests.

-- 
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]

Reply via email to