This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Apache XML-RPC with a Proxy Server  RSS feed

 
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: 22502
43
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!