GeeCON Prague 2014*
The moose likes Web Services and the fly likes Invoking Web Service Through A Proxy Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Invoking Web Service Through A Proxy Server" Watch "Invoking Web Service Through A Proxy Server" New topic
Author

Invoking Web Service Through A Proxy Server

Gabriel Haggiag
Greenhorn

Joined: Jul 07, 2003
Posts: 9
Hi,
I am trying to invoke web services through a proxy server.
I am using the built-in Sun JDK JAX-WS for creating and invoking the web services.
I have tried setting http.proxyHost and http.proxyPort in the System properties but no good.

Can anyone have a clue how overcome the problem?

Gabriel
vikram Kesav
Ranch Hand

Joined: Jul 11, 2008
Posts: 69
try to set following values -

System.setProperty("http.proxyHost", "");
System.setProperty("http.proxyPort", "");
System.setProperty("http.proxyUser", "");
System.setProperty("http.proxyPassword", "");

Let me know error if any.
 
GeeCON Prague 2014
 
subject: Invoking Web Service Through A Proxy Server