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

SAAJ implmentation fails to creates SOAPMessage with attachments from inputstream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4, 1.4.1
    • 1.5.3, 1.6.0
    • saaj
    • None
    • Windows XP, Tomcat 5.0, jdk 1.5

    Description

      SAAJ implmentation fails to recover the attachments. On receiving an XML message and using SAAJ API (Axis2 Implementation) to reconstruct a SOAP message we get the message properly except for the attachments. i.e. Attachments sent to the server are not reconstructed as a part of the reconstructed SOAP message.
      SOAPMessage soapMessage = messageFactory.createMessage (mimeHeaders, inputStream);
      Where input Stream contains a SOAP Message including Attachments.

      Output is a soapMessage object where
      soapMessage.countAttachments () returns 0

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: