Hi.
I'm using generated stubs (WSDL2Java) to acess my webservice.
The only thing i need to do before using the functions onj thw wsdl is:

ExampleService service = new ExampleServiceLocator();
ServicesPortType port = service.getServicesPort();

But if the wsdl changes place on the machine or network, i don't have
to generate new stubs,
is saw that on ExampleServiceLocator class there 2 other constructers:

public ExampleServiceLocator(org.apache.axis.EngineConfiguration config) {
       super(config);
   }

   public ExampleServiceLocator(java.lang.String wsdlLoc,
javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException
{
       super(wsdlLoc, sName);
   }


and this is the where's axis knows where to go:
private java.lang.String ServicesPort_address =
"http://localhost/interacesso2/endpoint.php";;

My question is:

Can some give a few examples how to use the other 2 constructers, if
for example the wsdl is moved to 212.15.34.56 and put in a new place,
let's say interacesso3/endpoint.php?

Thank you.
Noe Rocha.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to