[JBoss JIRA] Created: (JBWS-2178) SOAPMessageImpl ignores system properties
by Per Lindberger (JIRA)
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-3.0.1, jbossws-native-2.0.3
Reporter: Per Lindberger
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months