This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
user test
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic