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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/10/30 19:30:20 UTC

[jira] Updated: (AXIS2-4203) SOAPConnectionImpl doesn't support SwA

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

Andreas Veithen updated AXIS2-4203:
-----------------------------------

    Fix Version/s: 1.5.3

> SOAPConnectionImpl doesn't support SwA
> --------------------------------------
>
>                 Key: AXIS2-4203
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4203
>             Project: Axis2
>          Issue Type: Bug
>          Components: saaj
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.6, 1.5.3
>
>
> 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.


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