Skip to Content
author's profile photo Former Member
Former Member

Dynamic Destination of WebService used in WebDynpro

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2007 at 01:09 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2007 at 08:20 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2007 at 10:53 AM

    Hi Shruti,

    See this thread:

    web-service---access-through-web-dynpro

    Regards, Suresh KB

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2007 at 10:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 04:25 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.