You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a SOAPMessage has been altered 'saveRequired()' does not recognize this.
Therefor the construct
if (soapMessage.saveRequired())
{ soapMessage.saveChanges(); }
does not work and also 'writeTo(Outputstream)' does not call 'saveChanges()' before writing out the message (see also 'http://java.net/jira/browse/SAAJ-68').
If a SOAPMessage has been altered 'saveRequired()' does not recognize this.
Therefor the construct
if (soapMessage.saveRequired())
{ soapMessage.saveChanges(); }
does not work and also 'writeTo(Outputstream)' does not call 'saveChanges()' before writing out the message (see also 'http://java.net/jira/browse/SAAJ-68').
Output from running the test class attached
[java] final message :
[java] <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>env:Header<abc:Extension1 xmlns:abc='http://example.org/2001/06/ext' env:actor='http://schemas.xmlsoap.org/soap/actor/next' env:mustUnderstand='1'/><def:Extension2 xmlns:def='http://example.com/stuff' env:mustUnderstand="1"/></env:Header>env:Body/</env:Envelope>
[java] final message ends here.
Environment
Metro 2.2, SAAJ 1.3.18, Oracle HotSpot VM 1.6.0_29
Affected Versions
[1.3.15]
The text was updated successfully, but these errors were encountered: