I am consuming a web-service with axis. I am getting a NoEndpointException from any webservice method I call.
Its coming from this generated code.
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
So it seems to suggest I haven't set up the endpoint correctly.
This is how i've instantiated the stubs:
MyService_ServiceLocator myService_ServiceLocator = new MyService_ServiceLocator();
MyService_PortType webservice = new MYServiceSOAPStub(myService_ServiceLocator);
I assume something is wrong with this? Do I need to pass in the webservice address? It already appears to be integrated into the stubs.