wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes XML over HTTPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "XML over HTTPS " Watch "XML over HTTPS " New topic
Author

XML over HTTPS

Poobhathy Kannan
Ranch Hand

Joined: May 26, 2004
Posts: 94
Hi

I need help to implement xml over https? is there Anybody have experience on this?Please give me details..

If anybody has samples,tutorials or articles, please provide links if you know any


http://learnertobeginner.blogspot.com/
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Do you have to implement the client side, server side or both? Are the XML messages SOAP messages or are they custom XML messages?

For the server side: Simply write a servlet that reads the request in XML format and configure your web server / servlet container for HTTPS - you'll need to look in the documentation of your specific web server for that.

For the client side: You could use the Jakarta Commons HttpClient library for communicating over HTTPS.

If you're talking about SOAP messages, have a look at Apache Axis.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Poobhathy Kannan
Ranch Hand

Joined: May 26, 2004
Posts: 94
Thanks Jesper,

I'm using custom xml for client and server side.
As you suggested i'm using Jakarta Commons HttpClient works fine
 
 
subject: XML over HTTPS
 
Similar Threads
XML-RPC over HTTPS.
java and xml
XML over HTTP?
JAX-RPC Usage
Connectivity to External System