Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4203

SOAPConnectionImpl doesn't support SwA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.3, 1.6.0
    • saaj
    • None

    Description

      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

      Attachments

        Activity

          People

            veithen Andreas Veithen
            veithen Andreas Veithen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: