[jbossws-issues] [JBoss JIRA] (JBWS-3118) Soap header elements have to be called TWICE!

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Sat Feb 4 08:38:48 EST 2012


     [ https://issues.jboss.org/browse/JBWS-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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 at 16b722d

--
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

        


More information about the jbossws-issues mailing list