This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML over HTTPS
 
Similar Threads
java and xml
XML over HTTP?
JAX-RPC Usage
Connectivity to External System
XML-RPC over HTTPS.