You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/07/18 16:44:31 UTC

[jira] Created: (AXIS2-3925) JAXWS: MTOM attachment is lost if outbound JAXWS handler is installed

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3925) JAXWS: MTOM attachment is lost if outbound JAXWS handler is installed

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3925.
-----------------------------------

    Resolution: Fixed

Committed Revision 677926

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org