[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2178) SOAPMessageImpl ignores system properties
Per Lindberger (JIRA)
jira-events at lists.jboss.org
Tue May 13 06:30:57 EDT 2008
[ http://jira.jboss.com/jira/browse/JBWS-2178?page=all ]
Per Lindberger updated JBWS-2178:
---------------------------------
JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127639
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list