[
https://issues.jboss.org/browse/JBAS-9479?page=com.atlassian.jira.plugin....
]
Alessio Soldano updated JBAS-9479:
----------------------------------
Priority: Major (was: Blocker)
Any chance you can check this is still an issue with AS 7 ?
Thanks
msg.setProperty(SOAPMessage.WRITE_XML_DECLARATION, "true");
Does not work
-------------------------------------------------------------------------
Key: JBAS-9479
URL:
https://issues.jboss.org/browse/JBAS-9479
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 6.1.0
Environment: Windows 7
Reporter: Kristian Woyna
Assignee: Alessio Soldano
XML Declaration is stripped and missing from the prolog of outbound soap messages from
JBoss 6.1.0 . <?xml version='1.0' encoding='UTF-8'?> (This is
missing!!!)
We have tried setting it both with the java start up option (see below) and setting it
within java code (see below) We can print out the soap message and see that exists before
it is sent out, but it goes missing by the time it is actually sent out from JBoss 6.1.0 .
We have carefully monitored and confirmed this with TCPMon. This is blocking us and we
are perplexed.
Here's the start up messages:
C:\jboss-6.1.0.Final\bin>run -c all -b 0.0.0.0
Calling C:\jboss-6.1.0.Final\bin\run.conf.bat
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-6.1.0.Final
JAVA: C:\Java\jdk1.6.0_23\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Dlogging.configuration=file:logging.properties
-Djavax.xml.soap.write-xml-declaration=true -Xms128M -Xmx512M -XX:MaxPermSize=256M
-Dsun.rmi.dgc.client.gcInterval=3
600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server
CLASSPATH: C:\Java\jdk1.6.0_23\lib\tools.jar;C:\jboss-6.1.0.Final\bin\run.jar
===============================================================================
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira