aspose file tools
The moose likes Web Services and the fly likes How to access Secure web method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to access Secure web method" Watch "How to access Secure web method" New topic
Author

How to access Secure web method

kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
Hi,

I am new to Web services,

Can any one explain me,

how to access secure web services method from a client java file.
i used to create Client Jar with Apache Axis1_4

Thanks in advance


Kalai.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
What does "secure" mean - SSL? Basic authentication? WS-Security authentication? Something else?
kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
yes, SSL only


thanks
Kalai.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Using SSL doesn't have much to do with web services per so, and more with properly setting up the client and server. The rough steps are: 1) SSL-enable the server, 2) install the server certificate in the client JRE, 3) use an HTTPS URL instead of an HTTP URL.

Note that SSL is outdated for encrypting web services, though. These day, the proper way to do that is to use WS-Security (which Axis' Rampart module implements).

This message was edited 1 time. Last update was at by Lester Burnham

 
 
subject: How to access Secure web method
 
developer file tools