cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic destinations for adaptive web service in webdynpro for java

Former Member
0 Kudos

Hi,

Please advice me on how to create dynamic destination for adaptive web service model in webdynpro for java.

Regards,

Patana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If this is the case, then use the HTTP destination for this.

What you need to do is:

1. Create one HTTP destination in visual administrator at services-> Destinations. Provide HTTP url of the your web service and the security options.

2. Specify this HTTP destination in the code before executing web service model.

Write following code for that:

wdContext.current<node name>Element().modelobject()._setHTTPDestination(<Specify HTTP destination name>);

Then execute your web service model.

Now, whenever you want to change the server on which your web service is running, make change in the HTTP Destination in visual administrator.

Refer this link,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff...

Regards,

Sunaina Reddy T

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

check this thread for dynamic destinations for webservices

Thanks