Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to consume secure web service using Axis

 
Vignesh Kumar.S
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

What does "secured" mean - secured how? HTTPS? HTTP Authentication? WS-Security? Something else?
 
Vignesh Kumar.S
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here I mean HTTPS web services.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic