[
https://jira.jboss.org/jira/browse/JBWS-2346?page=com.atlassian.jira.plug...
]
Darran Lofthouse updated JBWS-2346:
-----------------------------------
Description:
We are trying to migrate our application into JBOSS 4.3EAP, perviously my webservice
application was using Sun's saaj api. During the migration, we have been decided to
use JBoss SAAJ api and we are seeing some weird problem with an API in SOAPBody class.
Here is the sample code:
NodeList list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0",
"AdhocQueryResponse");
System.out.println(list.getLength());
list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0",
"ExtrinsicObject");
System.out.println(list.getLength());
The first call to getElementsByTagNameNS() was returning the element list, but the
subsequent call was returning an empty nodelist. I am attaching a sample java project
created to reproduce the problem.
See the following Javadoc: -
http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Element.html#getEleme...
was:
We are trying to migrate our application into JBOSS 4.3EAP, perviously my webservice
application was using Sun's saaj api. During the migration, we have been decided to
use JBoss SAAJ api and we are seeing some weird problem with an API in SOAPBody class.
Here is the sample code:
NodeList list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0",
"AdhocQueryResponse");
System.out.println(list.getLength());
list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0",
"ExtrinsicObject");
System.out.println(list.getLength());
The first call to getElementsByTagNameNS() was returning the element list, but the
subsequent call was returning an empty nodelist. I am attaching a sample java project
created to reproduce the problem.
Issue with SAAJ API: SOAPBody.getElementsByTagNameNS() appears
non-recursive
----------------------------------------------------------------------------
Key: JBWS-2346
URL:
https://jira.jboss.org/jira/browse/JBWS-2346
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.0.3
Reporter: David Boeren
Assignee: Alessio Soldano
Fix For: jbossws-native-3.0.5
Attachments: TestSOAP.zip
We are trying to migrate our application into JBOSS 4.3EAP, perviously my webservice
application was using Sun's saaj api. During the migration, we have been decided to
use JBoss SAAJ api and we are seeing some weird problem with an API in SOAPBody class.
Here is the sample code:
NodeList list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0",
"AdhocQueryResponse");
System.out.println(list.getLength());
list =
soapMessage.getSOAPBody().getElementsByTagNameNS("urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0",
"ExtrinsicObject");
System.out.println(list.getLength());
The first call to getElementsByTagNameNS() was returning the element list, but the
subsequent call was returning an empty nodelist. I am attaching a sample java project
created to reproduce the problem.
See the following Javadoc: -
http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Element.html#getEleme...
--
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