cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic webservice-address

Former Member
0 Kudos

Hi there,

does anyone know if it is possible to change the target address of a webdynpro webservice-model at runtime (e.g. with the visual administrator)?

I deploy the same web service on several servers and want to do some performance tests. Do I have to change

the address everytime within the webdynpro-view of

NWDS and redeploy the webdynpro or is there an easier way?

Best regards,

Claus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Claus,

what you want to set is the Qname in the get<WSNAME>Information method in <WSNAME>HttpGetStub.java that was generated when NWDS made the model. You can modify it. Just use a

public static String qname;

in the class and initialize it in the view.wdDoInit(). You can later change it at runtime. (Or pass your address as a parameter on invocation.)

That should be it.

greetings Walter