cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy settings in Axis adapter

former_member194786
Active Contributor
0 Kudos

Hi All,

We are having a requirement to use AXIS adapter for connecting to a web service. While configuration we noticed that the Axis adapter by default does not provides any option to configure Proxy settings.

As per SAP Note 1039369, it looks like the setting can be done only at the J2EE server.

Is my understanding correct here, or is there any work around for this?

Excerpt from SAP Note:

The Axis's standard and adapter's HTTPSender and CommonsHTTPSender handlers recognize the java's standard network properties (http.proxyHost, http.proxyPort, http.nonProxyHosts) for HTTP proxy setting. Please check that these System properties are correctly set at the J2EE server's System properties page. For more information on how to set Java System properties, please refer to the J2EE server's documentation (SAP Note 710146 How to change J2EE Engine JVM Settings).

Thanks in advance!

Regards,

Sanjeev Shekhar Singh.

View Entire Topic
Former Member
0 Kudos

Hi,

I am afraid that you need to change this in the JVM as described in the note.

Certain adapters offers their own proxy settings but most of them don't.

We use the RNIF Adapter for example and needed to specify both the proxy and proxy user and password.

As far as I remember, proxy and user/password are not supplied in the same location (but that is also described in the note)

Best regards,

Markus

former_member194786
Active Contributor
0 Kudos

Hi Markus,

Thanks for the quick response. If I understand you correctly, there is no workaround for this.

But then I was just wondering, shouldn't this feature be provide by SAP in Axis adapter (just like SOAP adapter), as in most cases proxy settings are required if we need to communicate to a web service that is not in our landscape.

Or am I missing something here?

Regards,

Sanjeev Shekhar Singh.

Former Member
0 Kudos

Hi Sanjeev,

I agree with you - they way they have implemented the whole HTTP proxy thing is not very consistent.

Certain adapters have proxy settings in the adapter and others don't although they should have them.

But as far as I understand, you could specify the proxy in the JVM and then you don't need the proxy settings in the adapter any longer (as far as the adapter is running on the java stack)

best regards,

Markus