users@wadl.java.net

Change destination IP Address at runtime

From: Luigi Tagliamonte <luigi.tagliamonte86_at_gmail.com>
Date: Wed, 27 Jun 2012 11:26:25 -0700

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.