File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Invoking Web Service Through A Proxy Server
 
Similar Threads
Caching is not working
Invoking Web Service Through A Proxy Server
Accessing an internet web service from a secure LAN
how to invoke web service implemented in MS.NET
create web service client url https