-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
jbossws-native-2.0.3, jbossws-native-3.0.1
-
None
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
- duplicates
-
JBWS-2156 Allow JBossWS users to include xml declaration processing instruction in SOAP messages
- Closed