Thanks! Good tip - at least know the API of the generated classes! 

Peter

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 27, 2003 1:14 PM
To: [EMAIL PROTECTED]
Subject: Re: configurable endpoints


----- 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);


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to