File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes calling method from stub class   :- Error obtaining parser from data source:Property cannot be null! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "calling method from stub class   :- Error obtaining parser from data source:Property cannot be null!" Watch "calling method from stub class   :- Error obtaining parser from data source:Property cannot be null!" New topic
Author

calling method from stub class :- Error obtaining parser from data source:Property cannot be null!

user test
Greenhorn

Joined: Dec 14, 2011
Posts: 1
Hi,

I have created stub classes using WSDL2Java : axis2-1.5.5-bin using this axis distribution.

But when I try to invoke method from stub I am getting following exception :


java.lang.RuntimeException: Error obtaining parser from data source:Property cannot be null!
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getDirectReader(OMSourcedElementImpl.java:230)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.forceExpand(OMSourcedElementImpl.java:254)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.getChildren(OMSourcedElementImpl.java:859)
at org.apache.axis2.client.Stub.addHeader(Stub.java:213)
at org.apache.axis2.client.Stub.addHeader(Stub.java:229)
at com.oracle.xmlns.idm.identity.webservice.spmlservice.SPMLServiceStub.sPMLValidateUsernameRequest(SPMLServiceStub.java:3053)
at com.oracle.xmlns.idm.identity.webservice.spmlservice.ServiceClientTest.main(ServiceClientTest.java:33)

Any pointer would be a great help

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling method from stub class :- Error obtaining parser from data source:Property cannot be null!