Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Invalid
-
1.2 Beta
-
None
-
None
-
JDK 1.4.2, Resin 2.1.14
Description
Not sure how to explain this in an understandable manner, but run this code and you will clearly see the problem:
SOAPMessage soapMessage = MessageFactory.newInstance().createMessage();
SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope(); // Get handle to envelope
// soapMessage.writeTo(System.out); // This would give the same results
soapMessage.saveChanges(); // This converts the SOAP message to String form (as a Fix for Bug 16418???)
soapEnvelope.addChildElement("foo", "bar", "http://foo/bar"); // Add child elements
soapMessage.writeTo(System.out); // The message is already in String form, and changes have no effect
Attachments
Issue Links
- is depended upon by
-
AXIS-1591 Migration from Axis 1.1 (or 1.2Beta)
- Resolved