• Post Reply Bookmark Topic Watch Topic
  • New Topic

XML-RPC over HTTPS.

 
Angelino Dolce
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
I've a client that communicate with a Servlet using XML-RPC.
Is there an implementation of XML-RPC for using over HTTPS?
(I want to protect the transmission of data).
Thank You,
Angelino.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would XML-RPC over HTTP be any different from XML-RPC over HTTPS?
 
Angelino Dolce
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf!
I'm not sure. I would like to be sure that my application communication have NOT any problem in HTTPS-mode. But if You see the Xml-Rpc code, there is a reference to 'http://host...' ecc. I'm not sure that changing
http://.... to https://....
is all that serve.
Thanks.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just try it and see what happens. If you're dealing with connections directly, you would use javax.net.ssl.HttpsURLConnection instead of java.net.HttpRULCOnnection, so you'd need at least Java 1.4, or install JSSE if you're using an earlier JDK version.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!