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 stub error when accessing a .NET web service 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 stub error when accessing a .NET web service" Watch "Axis2 stub error when accessing a .NET web service" New topic

Axis2 stub error when accessing a .NET web service

S Mak

Joined: Nov 19, 2008
Posts: 1
I have created a stub from a WSDL file that was created by .NET. When I call a method, I get the following error:

org.apache.axis2.AxisFault: Object reference not set to an instance of an object.
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
at org.apache.axis2.description.OutInAxisOperationClient.send(
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
at org.apache.axis2.client.OperationClient.execute(
at com.ldes.qlikview.QlikViewAPI.executeMethod(
at com.ldes.qlikview.QlikViewAPI.main(

Any ideas why this is happening? What is interesting, is that I did the exact same steps in creating the stubs for another web service (3rd party). That worked flawlessly.

Peer Reynders

Joined: Aug 19, 2005
Posts: 2922
Welcome to JavaRanch!

How to Get Help with SOAP web services.
I agree. Here's the link:
subject: Axis2 stub error when accessing a .NET web service