my dog learned polymorphism*
The moose likes Web Services and the fly likes Axis and SSL connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis and SSL connection" Watch "Axis and SSL connection" New topic
Author

Axis and SSL connection

Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Hi All,

Can somebody please point me to any resources where I can find how can I write Web Service client using Apache Axis which connects to https URL?

I have found some which are doing and and then using SOAPHttpConnection and Call Interface to make SOAP call. But I can not use System.setProperty as our system environment does not allow that. So, what else can I use? I found examples to use KeyStore and KeyManagerFactory classes but I am not sure how can I use them with Axis?

Any help will be appreciated.

Thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41087
    
  43
Check the thread "Axis client handler" from last week. I posted a link to a relevant article about Axis and SSL there.


Ping & DNS - my free Android networking tools app
Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Hi Ulf,

Thanks for such a quick response. I checked the article in that thread. But isn't it also setting System properties for truststore file location and password? Basically I can not do System.setProperty.

I have found somewhere how to read truststore using KeyStore and KeyManagerFactory classes from jsse package. But I do not know how can I use them with Axis. So, can you point me to something in that direction?

I have found this link : http://xml.sys-con.com/read/40248.htm but this is for apache SOAP and that did not work for me for Apache SOAP so I am not sure whether I can try that with Axis as well or not.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Axis and SSL connection
 
Similar Threads
SOAPHttpConnection and SSL
Authentication web services
Getting IE proxy settings
Axis and DIME
Axis and Proxy setting