cancel
Showing results for 
Search instead for 
Did you mean: 

Deployable web service proxies across dev/test/prod

Former Member
0 Kudos

When you create a web service and deploy it across multiple environments (ie dev/test/prod) there is no configuration changes required, since the web service is installed and made accessible based on the installed server hostname. Great. However, how does this work for web service proxies?

When you generate a proxy, you point the wizard at a wsdl, and you get your proxy. However, this proxy points at the server which was referenced from the wsdl, which in a development environment may not be the eventual target server that exposes the web service (think of a development environment talking to a development web service, test talking to test, etc).

In NWDS, the configuration for the logical port for the proxy contains the 'target address' - how can one change this config item when the compiled object is installed across multiple (perhaps different) environments? I've perused the docs and the Visual Admin tool, but I can't find any information on this, other than this statement:

<i>After transport or re-deployment of the proxy, the URL and other important parameters can be adapted using a simple editor.</i>

Ok, great. Unfortunately the detail is slightly lacking in the above statement. Where does one edit these paramters?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ken,

I think you are looking for server environment variables. I know when I was working with tomcat, I made the changes within server.xml and they differed from dev to test to prod, but the names were the same. This way within your code you can get the cotext lookup the variable and use it instead.

If this is what you are looking for, let me know. I need the same thing on SAP Netweaver and haven't got to it, but will be getting to it next.

Nathan.

Former Member
0 Kudos

Hi,

The proxy can be configured on the J2EE Engine where it is installed. Start the visualadmin. You find the proxy settings under the "Destination" entry.

regards,

Martin

Former Member
0 Kudos

Martin, thanks. That appears to be exactly what I'm looking for. I wish Sap would have placed that little tidbit in the documentation!

Answers (0)