JBossWS - Getting WARN [ServiceDelegateImpl] Cannot access wsdlURL for https client

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content