File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "XML over HTTPS " Watch "XML over HTTPS " New topic


Poobhathy Kannan
Ranch Hand

Joined: May 26, 2004
Posts: 94

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
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15080

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 8 API documentation
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
I agree. Here's the link:
subject: XML over HTTPS
It's not a secret anymore!