aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 39576
    
  27
Check the thread "Axis client handler" from last week. I posted a link to a relevant article about Axis and SSL there.


Ping & DNS - updated with new look and Ping home screen widget
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis and SSL connection
 
Similar Threads
Getting IE proxy settings
Authentication web services
SOAPHttpConnection and SSL
Axis and Proxy setting
Axis and DIME