I used axis1 tool to generate my client from a WSDL. My problem is that I want to connect to a different host than the one on the WSDL. As such I did:
new BobsledWSHostLocator("http://localhost:8731/Bobsled/Core/?wsdl", new QName("http://lint.com/schemas/Bobsled", "BobsledWSHost"));
But when I try to comunicate with the host it still goes to the address I have on the wsdl from which I generated the client…when it should go to localhost.
I wanted to change the host address diagrammatically so I can have various hosts.
What am I missing?
Try this: