on 08-02-2007 10:53 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.