Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to access Secure web method

 
kalaiyarasan sivaprakasam
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "secure" mean - SSL? Basic authentication? WS-Security authentication? Something else?
 
kalaiyarasan sivaprakasam
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, SSL only


thanks
Kalai.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic