Link to home
Create AccountLog in
Avatar of mickey_lovely
mickey_lovely

asked on

Invocation of Webservices over https

Hi,

How do one invoke a web service over https. What are the steps that need to be followed in order to make this happen?
If a code snippet can be provided then it would be great.

Thanks in Advance.
ASKER CERTIFIED SOLUTION
Avatar of borislavmarkov
borislavmarkov

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of geekprog
geekprog

so you are talking about implementing webservices security. Before i give the code to you (ofcourse i don't have one), i got to ask you how did you implemented your webservices ?

JAX-RPC Client?
Apache-Axis?
SAAJ Client?

Here is the link which will guide you how to implement your security based on your implementation

http://www.javaranch.com/journal/200603/Journal200603.jsp#a2

I did implemented my webservices using Apache Axis, if you got any questions after reading the above article. I can help you with axis
Avatar of mickey_lovely

ASKER

Hi all,
Thanks for your responses. I got the way out of it.
We need to create keystores at the client and at the server side. Using that keystore we can access the webservices over https.

Regards