Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML over HTTPS

 
Poobhathy Kannan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Poobhathy Kannan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jesper,

I'm using custom xml for client and server side.
As you suggested i'm using Jakarta Commons HttpClient works fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic