[ 
https://issues.apache.org/jira/browse/AXIS2-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen resolved AXIS2-4203.
------------------------------------

       Resolution: Fixed
    Fix Version/s: post-1.5

Fixed in trunk. SOAPConnectionImpl now properly supports SwA and MTOM.

> SOAPConnectionImpl doesn't support SwA
> --------------------------------------
>
>                 Key: AXIS2-4203
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4203
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: saaj
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: post-1.5
>
>
> SOAPConnectionImpl (which is part of the "**SOAP with Attachments** API for 
> Java" implementation...) actually doesn't support SOAP with Attachments. 
> Indeed it contains the following code:
>         if (request.countAttachments() != 0) { // SOAPMessage with attachments
>             
> opClient.getOptions().setProperty(Constants.Configuration.ENABLE_MTOM,
>                                               Constants.VALUE_TRUE);
>             return handleSOAPMessage(request, opClient);
>         } else { // simple SOAPMessage
>             return handleSOAPMessage(request, opClient);
>         }
> This implies that SOAPMessages that should normally be sent as a SwA messages 
> are always sent as MTOM messages.
> This issue has also been reported on the mailing list some time ago, but 
> without any reply: http://markmail.org/message/n3mwpni26ej5tsj2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to