SAAJ implmentation fails to creates SOAPMessage with attachments from inputstream ---------------------------------------------------------------------------------
Key: AXIS2-4189 URL: https://issues.apache.org/jira/browse/AXIS2-4189 Project: Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.4, 1.4.1 Environment: Windows XP, Tomcat 5.0, jdk 1.5 Reporter: Chinmoy Chakraborty 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.