SOAPMessage returned from SOAPMessageContext doesn't support DOM
----------------------------------------------------------------
Key: JBWS-3108
URL:
https://jira.jboss.org/browse/JBWS-3108
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.1.2
Environment: JBoss 5.1.0 on Java 1.5
Reporter: Jay Rostosky
The SOAPMessage returned from SOAPConnection.call() fully supports access via DOM API.
However, the SOAPMessage returned from SOAPMessageContext (when writing a SOAPHandler)
does not.
Namely, SOAPBody.getElementsByTagName() results in a JBoss NotImplementedException.
Also, using SOAPElement.getChildElements() on the SOAPBody, and then navigating down to
the <arg0> element, I cannot use Node.getTextContent() -> again get a
NotImplementedException.
Only workaround is to navigate all the way down to the text node contained by
<arg0>, and then call Node.getNodeValue() on that.
How did this pass the Sun verification tests?
--
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