Problem calling web service from within JBOSS EJB Service

后端 未结 1 943
挽巷
挽巷 2021-01-16 05:24

I have a simple web service sitting on our internal network. I used SOAPUI to do a bit of testing, generated the service classes from the WSDL , and wrote some java code t

相关标签:
1条回答
  • 2021-01-16 06:09

    Having a look at ServiceDelegateImpl it tries to do:

    InputStream is = wsdlURL.openStream();

    where wsdlURL is a non-null URL. That means the trouble lies in the openStream(). I expect the problem to be with the https root certificate; I can imagine that JBoss has it's own store of acceptable root certificates somewhere, and that your root is not in there.

    What I would do to test this is to deploy the service on a HTTP server, and make the wsdlURL a http URL. If that works, it's the SSL layer.

    If it is the SSL layer, try to manually add a keyStore, by defining it on the command line, like in the answer to this SO question.

    0 讨论(0)
提交回复
热议问题