users@jax-rpc.java.net

Re: Static Client with Changing Web Service URL?

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Thu, 07 Apr 2005 12:36:03 -0400

Just call myStub._setProperty("javax.xml.rpc.service.endpoint.address",
newURL).

Marc.

On Apr 7, 2005, at 12:32 PM, Ryan Champlin wrote:

> All,
>
> I'm wondering if I create a web service client that is staic is there
> a way to change the URL for the web service if it changes later
> without regenerating the client?
>
> Everything about the service is static except the URL and Port.  I'm
> wondering if there is a way to pass this in or override that specific
> element throug the use of the stubs.  I'm not seeing a straightforward
> way by looking at what was generated.
>
> Thanks much,
> Ryan
>
---
Marc Hadley <marc.hadley at sun.com>
Business Alliances, CTO Office, Sun Microsystems.