----- Original Message -----
From: "Pascale, Peter H." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 11:01
Subject: configurable endpoints
> As part of developing a WS client with axis for SOAP-RPC calls, I would
like
> the ability to configure the HTTP service location, so that the client
could
> look to the external, true implementation of the service, or look to an
> internal, dummy implementation (that was built on the same WSDL).
You can bind a locator to any URL you pass in, and so bind to any
implementation of the service
endpointURL = new java.net.URL(config.getEndpoint());
server = locator.getServicePort(endpointURL);