Published on WSO2 Oxygen Tank (http://wso2.org)

How reference PKI enabled endpoints in the Admin console

By jdholmes1978
Created 2008-05-21 07:21

 

When referencing a PKI enabled published WSDL via the Source URL I get the same exception as http://wso2.org/forum/thread/3377 [0].  From the research I’ve done and read it appears to do this because the Admin console is using the default KeyStore that comes with the JRE and it does a simple URLConnection.

 

URLConnection conn = url.openConnection();

conn.setReadTimeout(getReadTimeout());

conn.setConnectTimeout(getConnectionTimeout());

conn.setRequestProperty("Connection", "close"); // if http is being used


It fails on this line ==> InputStream urlInStream = conn.getInputStream();

 

Is there a way to enable different KeyStores per WSDL reference?

 

Thanks,

J


Source URL:
http://wso2.org/forum/thread/3621