<div>Hello,</div>
<div>&nbsp;</div>
<div>I have the following scenario:</div>
<div>&nbsp;</div>
<div>I am trying to call a Webservice that communicates via&nbsp;a secure socket (in other words, its located at <a href="https://hostname/path/to/service?wsdl">https://hostname/path/to/service?wsdl</a>).&nbsp; When I call the Stateless Session Bean that uses the service proxy, I get an odd UndeclaredThrowable exception.&nbsp; It turns out it is because it cannot communicate with the webservice and is throwing an IOException which was not declared in the remote interface thus causing the UndeclaredThrowable rmi exception.</div>

<div>&nbsp;</div>
<div>I created a unit test to try calling the web service outside of the EJB container, and got it working.&nbsp; I had to specify the truststore location with a system property javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword property (which keeps the IOException from being thrown).&nbsp; Now how do I specify these properties for the JBoss application server?&nbsp; I tried using the SystemProperties service, but it does not work.</div>

<div>&nbsp;</div>
<div>Any other idea?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>&nbsp;</div>
<div>David</div>