-
Bug
-
Resolution: Done
-
Major
-
jbossws-native-3.0.3
-
None
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: -
- duplicates
-
JBWS-2345 SOAPBody.getElementsByTagName() returns an empty NodeList
- Closed
- is incorporated by
-
JBPAPP-2108 JBossWS - Issue with SAAJ API: SOAPBody.getElementsByTagNameNS() is non-recursive
- Closed
- is related to
-
JBWS-2704 Element.getElementsByTagNameNS should support wildcards for namespace, local name or both
- Closed