SAAJ implementation does not set the correct NS prefix in SOAP header and body elements
---------------------------------------------------------------------------------------
Key: JBWS-3159
URL:
https://jira.jboss.org/browse/JBWS-3159
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.4.0.CR1
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-native-3.4.0
With native saaj implementation to create soap message from this string :
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><S:He...
xmlns:S='http://schemas.xmlsoap.org/soap/envelopes'></S:Hea...
xmlns:S='http://schemas.xmlsoap.org/soap/envelopes'> <ns1:addItemResponse
xmlns:ns1='http://org.jboss.ws/addressing/replyto'> <result>Mars
Bar</result> </ns1:addItemResponse> </S:Body></env:Envelope>
The created soap header and soap body are with prefix "env" . This caused some
problem when ws security is enabled and soap header or body part is signed.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira