cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically define target address for logical ports (NW'04)

Former Member
0 Kudos

Hello,

when developing a web-service client using standalone proxy, you have to define the target address of a Web Service in the property-page for the Logical Port.

We have the following problem. If the URL of the Web Service changes, we have to rebuild the whole project and then redeploy the project.

Is there a way to change this URL dynamically by java-code?

Thanks in advance,

Jarle

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jarle,

if your proxy is running on an sap j2ee engine I would suggest to use a deployable proxy instead of a standalone proxy. This will allow you to configure the proxy with the visual admin of the engine. (you find the proxy settings in the "Destinations" entry of the visual admin.

regards,

Martin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi again and thanks for your answer.

Our goal is (if possible), to develop webservice-client components that reads the target adress as a component-parameter, and sets it accordingly when the component is loaded. So if anybody could tell us if this is at all possible would be great

Former Member
0 Kudos

But that's exactly what the 'Destinations' module is for. When you upload the deployable web service, it creates an entry in the 'Destinations' app, where you can then configure the correct address.

Slightly more info here: