JBossWS - Getting WARN [ServiceDelegateImpl] Cannot access wsdlURL for https client
Issue
I coded up a simple web service client and deployed it into JBoss EAP and get the following error: -
org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:331)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:231)
Also the following WARN is logged: -
WARN [ServiceDelegateImpl] Cannot access wsdlURL: https://some_server/endpoint?wsdlhttps://WS-Test/TestService/v2/TestService?wsdl
https://WS-Test/TestService/v2/TestService?wsdl
I access the URL directly and it indicates that the server does not trust the ssl connection to the server.
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Environment
- JBoss Enterprise Application Platform (EAP) 4.3
- JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
