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

Using Apache XML-RPC with a Proxy Server

 
Dave Bosky
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have a code sample showing how to use Apache XML-RPC clientthrough a proxy server? I've been trying to use Apache HttpClient as the transport method but can't get anything to work. I've searched and found nothing on this topic..

I've posted my test servlet below.

Thanks,
Dave

 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard way for Java in general to communicate via HTTP through a proxy server is to set the http.proxyHost and http.proxyPort system properties. I can't see why it would be any different for XML-RPC.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic