Meaningless Drivel is fun!
The moose likes Web Services and the fly likes Need to consume secure web service using Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need to consume secure web service using Axis" Watch "Need to consume secure web service using Axis" New topic
Author

Need to consume secure web service using Axis

Vignesh Kumar.S
Greenhorn

Joined: Mar 16, 2009
Posts: 3
Hi All,
I have to invoke a secured web service using Axis. Could anybody help me with the steps/sample code?
Thanks,
Vignesh
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Welcome to JavaRanch.

What does "secured" mean - secured how? HTTPS? HTTP Authentication? WS-Security? Something else?
Vignesh Kumar.S
Greenhorn

Joined: Mar 16, 2009
Posts: 3
Here I mean HTTPS web services.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
You'll need to import the server certificate into the client keystore (the "keytool" executable does that), and then you should be able to use HTTPS URLs.
Vignesh Kumar.S
Greenhorn

Joined: Mar 16, 2009
Posts: 3
Thanks. w.r.t code do we need to do any specific configurations .If so,could you provide any sample code to set these properties using Axis?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Need to consume secure web service using Axis
 
It's not a secret anymore!