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 "giallo 4it (JIRA)" <ji...@apache.org> on 2012/09/17 17:24:08 UTC

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

    [ https://issues.apache.org/jira/browse/AXIS2-3925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457079#comment-13457079 ] 

giallo 4it commented on AXIS2-3925:
-----------------------------------

Where can i get your solution?
                
> JAXWS: MTOM attachment is lost if outbound JAXWS handler is installed
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-3925
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3925
>             Project: 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org