]
Alessio Soldano updated JBWS-3118:
----------------------------------
Fix Version/s: jbossws-native-4.0.2
Soap header elements have to be called TWICE!
---------------------------------------------
Key: JBWS-3118
URL:
https://issues.jboss.org/browse/JBWS-3118
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.3.1
Environment: JBOSS 4.2.3
Reporter: Jeremy Scott
Labels: soapheader
Fix For: jbossws-native-4.0.2
for the following:
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<credentials
xmlns="http://www.xxxx.com/Services/1.1">
<deviceProvider>Sonos</deviceProvider>
<sessionId>7d30bb0aa7ed17ad0681568e335a96333dc7ecefa944066026f850eddb77ffac</sessionId>
</credentials>
</s:Header>
<s:Body>
<getMediaMetadata
xmlns="http://www.xxxx.com/Services/1.1">
<id>TRACK:2646108</id>
</getMediaMetadata>
</s:Body>
</s:Envelope>
calling this
context.getMessage().getSOAPHeader().getElementsByTagName("credentials")
throws a "An exception occurred: org.w3c.dom.DOMException"
calling it a second time returns the element org.jboss.ws.core.soap.NodeListImpl@16b722d
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: