axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "giallo 4it (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-3925) JAXWS: MTOM attachment is lost if outbound JAXWS handler is installed
Date Mon, 17 Sep 2012 15:24:08 GMT

    [ 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


Mime
View raw message