on 03-20-2009 4:46 PM
Hello,
I have a very simple question, but could not find any info in the documentation:
I have generated a web service client using the SAP web service libraries in a Java stand-alone project (not to be deployed on NetWeaver).
The generated client works fine for any service that is directly reachable. If the service is however must be accessed through a proxy server, the web service calls fail.
Is there a way of configuring the client to use a proxy server? I would be very happy if you could point me to some documentation.
Best regards,
Patrik
PS: On the web, I found the following hints, but they do not seem to work with the SAP libraries, right?
System.getProperties().setProperty("http.proxySet" , "true");
System.getProperties().setProperty("http.proxyHost ","proxy.com");
System.getProperties().setProperty("http.proxyPort ", "8080");
Hi Patrik,
With Web Service Client in a standalone Java Project, if you mean that you have created a Deployable Proxy and consuming it in a plain java project, then,
For Proxy server settings you can set the following Logical Port Properties:
port._setProperty("javax.xml.rpc.http.proxyhost","proxy");
port._setProperty("javax.xml.rpc.http.proxyport","8080");
For More information refer to [this.|http://help.sap.com/saphelp_nw70/helpdata/EN/04/d2c60e78814516afe7811829f02725/frameset.htm]
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.