[
https://jira.jboss.org/browse/JBWS-3118?page=com.atlassian.jira.plugin.sy...
]
Alessio Soldano commented on JBWS-3118:
---------------------------------------
Could you please provide the full stacktrace of the exception you get?
Moreover, it's not clear to me which version you're using, given you say jbossws
3.3.1.GA and then JBoss AS 4.2.3, which is not a target container for jbws 3.3.1
(
http://community.jboss.org/wiki/JBossWS-SupportedTargetContainers)
If you could provide a sample reproducing the issue, that would help a lot.
Thanks
Soap header elements have to be called TWICE!
---------------------------------------------
Key: JBWS-3118
URL:
https://jira.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
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 contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira