This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Using Apache XML-RPC with a Proxy Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Using Apache XML-RPC with a Proxy Server" Watch "Using Apache XML-RPC with a Proxy Server" New topic

Using Apache XML-RPC with a Proxy Server

Dave Bosky
Ranch Hand

Joined: Dec 16, 2003
Posts: 72
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.


Paul Clapham

Joined: Oct 14, 2005
Posts: 19723

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Using Apache XML-RPC with a Proxy Server
jQuery in Action, 3rd edition