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


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