This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis2 ClientStub Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 ClientStub Error" Watch "Axis2 ClientStub Error" New topic

Axis2 ClientStub Error

maverickml venkatesh

Joined: Aug 17, 2011
Posts: 8
Trying to invoke a webservice usign the AXIS genereated client stubs .

When i run my standalone axis2 client program am getting exception

. The getPolicy() method in the axis generated stub class

Why is that am getting NullPointerException?

I tried splitting the code like below. But still getting teh same NullPointerException

Has anyone faced this kind of error ? Any advice is highly appreciated.
It is sorta covered in the JavaRanch Style Guide.
subject: Axis2 ClientStub Error