[ http://issues.apache.org/jira/browse/WSCOMMONS-40?page=all ]

Chamikara Jayalath updated WSCOMMONS-40:
----------------------------------------

    Attachment: XPathTest1.java

Out of the two test methods.
testDocumentNotAdded()  is failing.
But testDocumentNotAdded () is not failing.

The only difference is following line.
factory.createOMDocument().addChild(envelope);

> XPath lookup fails when applied to a SOAPEnvelope created using the 
> SOAPFactory.getDefaultEnvelope () method
> ------------------------------------------------------------------------------------------------------------
>
>          Key: WSCOMMONS-40
>          URL: http://issues.apache.org/jira/browse/WSCOMMONS-40
>      Project: WS-Commons
>         Type: Bug

>   Components: AXIOM
>     Reporter: Chamikara Jayalath
>  Attachments: XPathTest1.java
>
> Will add a test case to explain this more.
> The error is a NullPointerException. 
> But the error does not appear when following line is added to the created 
> envelope.
> factory.createOMDocument().addChild(envelope);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to