• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Apache XML-RPC with a Proxy Server

 
Dave Bosky
Ranch Hand
Posts: 72
  • 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
Posts: 21117
32
Eclipse IDE Firefox Browser MySQL Database
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic