This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to access Secure web method
 
Similar Threads
Passed OCEWSD (JEE 6) with 68%
Implementing Business Object Web Services using Eclipse
get result from the another java package
closing web services connection
How to access byte array web method