]
Per Lindberger updated JBWS-2178:
---------------------------------
JBoss Forum Reference:
SOAPMessageImpl ignores system properties
-----------------------------------------
Key: JBWS-2178
URL:
http://jira.jboss.com/jira/browse/JBWS-2178
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-2.0.3, jbossws-native-3.0.1
Reporter: Per Lindberger
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
The FAQ states that for instance XML declaration writing can be turned on via system
property
"javax.xml.soap.write-xml-declaration", but infact this property seems to be
ignored.
I suggest a change to the constructor of org.jboss.ws.core.soap.SOAPMessageImpl from
setProperty(WRITE_XML_DECLARATION, false);
to
setProperty(WRITE_XML_DECLARATION,
System.getProperty(WRITE_XML_DECLARATION,
"false"));
or sth similar. The above change solves the problem easily and I suppose the same should
be done for
CHARACTER_SET_ENCODING, although it has a more sensible default (UTF-8).
Regards,
Per L
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: