wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Welcome to JavaRanch.

What does "secured" mean - secured how? HTTPS? HTTP Authentication? WS-Security? Something else?


Ping & DNS - my free Android networking tools app
Vignesh Kumar.S
Greenhorn

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

Joined: Mar 22, 2005
Posts: 41155
    
  45
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to consume secure web service using Axis
 
Similar Threads
Getting Parameters into my Webservice Class
How to order the elements in soap message?
Run Servlet on deployment
Problem passing a primitive array to a webservice operation using WSAD
is it compulsory to throw remote exception?.