Hi All,

I am a newbie to Axis 2.



My goal is to talk to a web service from my java code.

The following are the steps I did

  1. Downloaded Axis 2 Intellij Plugin,
  2. Created the stubs for my client from wsdl provided by the
  webservice.
  3. Wrote a simple program to talk to the service. The code looks like
  this.



       MywebservicesStub stub = new MywebservicesStub();

       MywebservicesStub.CheckDetails chk = new
MywebservicesStub.CheckDetails();

       chk.CheckDetails(chk);







I am getting an error

java.lang.NullPointerException

           at org.apache.axis2.description.ClientUtils.inferInTransport(
ClientUtils.java :85)

           at org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java :163)







Could you all please help me in figuring out if I have missed any steps and
what is causing this exception?



-Manoj

Reply via email to