-
Sep 6th, 2011, 11:01 AM
#1
getFirstChild and getChildNodes
¿Why is the context of parameterNames and strings null in this code?
protected NameValue[] parseBody(SOAPBodyElement body, SOAPFactory f)
throws SOAPException {
Node parameterNames = body.getFirstChild();
NodeList strings = parameterNames.getChildNodes();
int length = strings.getLength();
System.out.println(parameterNames);
System.out.println(strings);
System.out.println(length);
.
.
.
}
The results of the outputs are:
[ParameterNames: null]
[ParameterNames: null]
1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules