[
https://jira.jboss.org/jira/browse/JBWS-2940?page=com.atlassian.jira.plug...
]
Alessio Soldano updated JBWS-2940:
----------------------------------
Description: This was spotted because of JBPAPP-3785. Basically the problem is when
moving from XML_VALID to DOM_VALID state of the model, the Native stack can end up with a
wrong namespace assigned to the SOAPContentElement of the body. That's possible when a
previous transition from OBJ_VALID to XML_VALID has caused JAXB to marshall the content to
a new xml fragment that -despite being equivalent to the original content- has different
namespace <--> prefix associations. When later moving to DOM_VALID, attributes are
copied from the element obtained parsing the fragment to the container element. This
breaks messages in some subtle cases because the SOAPContentElement prefix is not updated.
(was: This was spotted because of JBPAPP-3785. Basically the problem is when moving from
XML_VALID to DOM_VALID state of the model, the Native stack can end up with a wrong
namespace assigned to the SOAPContentElement of the body. That's possible when a
previous transition from OBJ_VALID to XML_VALID has caused JAXB to marshall the content to
a new xml fragment that -despite being equivalent to the original content- has different
namespace <--> prefix associations. When later moving to DOM_VALID, attributes are
copied from the element achieved parsing the fragment to the container element. This
breaks messages in some subtle cases because the SOAPContentElement prefix is not
updated.)
Wrong SOAPContentElement namespace prefix after multiple model
transitions
--------------------------------------------------------------------------
Key: JBWS-2940
URL:
https://jira.jboss.org/jira/browse/JBWS-2940
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.1.2
Reporter: Magesh Kumar B
Assignee: Alessio Soldano
Fix For: jbossws-native-3.3.0.Beta5
This was spotted because of JBPAPP-3785. Basically the problem is when moving from
XML_VALID to DOM_VALID state of the model, the Native stack can end up with a wrong
namespace assigned to the SOAPContentElement of the body. That's possible when a
previous transition from OBJ_VALID to XML_VALID has caused JAXB to marshall the content to
a new xml fragment that -despite being equivalent to the original content- has different
namespace <--> prefix associations. When later moving to DOM_VALID, attributes are
copied from the element obtained parsing the fragment to the container element. This
breaks messages in some subtle cases because the SOAPContentElement prefix is not updated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira