users@wadl.java.net

Re: Change destination IP Address at runtime

From: Gerard Davison <gerard.davison_at_oracle.com>
Date: Thu, 28 Jun 2012 12:25:58 +0100

Hi,

For the moment we have this:

http://kingsfleet.blogspot.co.uk/2012/03/catalog-support-for-wadl-client.html

But if you raise a bug I will look at putting an accessor in there. (Or you can just had modify the generated client for the moment)

Gerard

On 27 Jun 2012, at 19:26, Luigi Tagliamonte wrote:

> Hi All!
> Thank you for the great job on wadl2java! I was wondering if is possible to change the destination address of the generated stub during the execution of the program.
> I see the generated code and i think it will be great to user a private var in the main stub class with setter e getter methods and all the inner classes should use this private var.
> I'm asking this feature because i don't have to use a statical IP or DNS I have to switch between some rest servers that have the same wadl.