File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking Web Service Through A Proxy Server

 
Gabriel Haggiag
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic