Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2, Tomcat - How to quickly convert a service to HTTPS from http  RSS feed

 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a web service written in java that works on tomcat and axis2. But it's http. I want it to work over https. How do I convert it to https quickly?

Thanks,
john
[ September 29, 2008: Message edited by: John Landon ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure in which direction you want to go -the subject says the opposite of the body- but what keeps you from using one protocol vs. the other? Should be easy to accomplish.
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if you read it all again you'll see that the title and the content are in synch. Now to my question. What do you mean just use it? I have no idea in those things. Can you explain?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry. I should read more carefully at the end of the day :-(

On the client side, all that may be necessary may be to change the URL from "http://" to "https://".

On the server, if Tomcat isn't yet set up for HTTPS, here are the steps to follow.
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks but how do i do it with axis2 under tomcat?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean? If Tomcat is set up for HTTPS, then all web apps -like Axis- can use it. There's nothing else to set up.
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh ok. I'll try.
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks man!!!
 
Elias Ta
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John,
Can you share some idea how you got the web service and a client to work in tomcat application. I am stuck and would greatly appreciate your help
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Elias Ta:
John,
Can you share some idea how you got the web service and a client to work in tomcat application. I am stuck and would greatly appreciate your help


Do you already have a web app and you want to embed a web service in? or it's totally new app?
[ November 04, 2008: Message edited by: John Landon ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!