cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Destination of WebService used in WebDynpro

Former Member
0 Kudos

Hi All,

We are developing one tool in which we are using EJBs exposed as a webService in WebDynpro Project.

As we deploy the Webservice onto the different server,location of the WSDL needs to be changed in the webDynpro application.

Model of the Webservice contains the <b>IP address or HostName and Port Number</b> of the Server, But as the server changes this needs to be changed.

But when we deploy the application to client machine,

1:we need to either change the HostName in the Client machine or

OR

2: we have to change the IP in the WD application.

Is there any way by which we can dynamically change the Location of the WS in WD application without doin any changes in WD application

Is there any dynamic destination can be created for the WS.

Thanks in Advance.

Regards Shruti.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shruti,

Can u elaborate more abt ur problem.When u create a webservice model ,u take the wsdl & give the path.After that u create the dynamic destination(End points) in Visual administrator in webservice security service.

Even if u change the server for ur webservice,u have to change the endpoint ,no need to change anything in webdynpro application.

Regards

Sumit

Answers (4)

Answers (4)

Former Member
0 Kudos

Now We have used Adaptive WS model.

And in that, the Destination can be specified in VA and later on that can be updated also.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Shruti,

See this thread:

Regards, Suresh KB

Former Member
0 Kudos

Hi Shruti,

U can go thru this link.It will help u to understand this more clearly.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7</a>

regards

Sumit

Former Member
0 Kudos

Hi Shruti,

You can set the webservice url before executing the model object in WebDynpro code.

objRequestXXXXXXXXXX._setEndPoint(url)

Regards

Madhu

Message was edited by:

Madhu Darsipudi