aspose file tools*
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
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: 14348
    
  22

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
 
wood burning stoves
 
subject: XML over HTTPS