This content has been marked as final. Show 2 replies
Your code should use the SAAJ API to create SOAPEnvelope objects and should (if possible) stay clear of dependencies on Axis.
The functionality you are looking for it still available through the factory method
Please also have a look at
javax.xml.soap.MessageFactory.createMessage(MimeHeaders headers, InputStream in) Internalizes the contents of the given InputStream object into a new SOAPMessage object and returns the SOAPMessage object.