Hello,
 
I have the following scenario:
 
I am trying to call a Webservice that communicates via a secure socket (in 
other words, its located at https://hostname/path/to/service?wsdl).  When I 
call the Stateless Session Bean that has the proxy injected via @WebServiceRef, 
I get an odd UndeclaredThrowable exception.  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 trickling up and causing the 
UndeclaredThrowable rmi layer exception).
 
I created a unit test to try calling the web service outside of the EJB 
container, and got it working.  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).

Now comes the tricky part: how do I specify these properties for the JBoss 
application server?  I tried using the SystemProperties service, but it does 
not work--I still get the same exception.
 
Any other idea?
 
Thanks,
 
David

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139982#4139982

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139982
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to