What does "org.jboss.ws.WSException: Cannot find configFile: META-INF/standard-jaxws-client-config.xml" mean when JBossWS client fails to send SOAP request?

Solution Verified - Updated -

Issue

  • What does "org.jboss.ws.WSException: Cannot find configFile: META-INF/standard-jaxws-client-config.xml" mean when JBossWS client fails to send SOAP request? Here's stacktrace:

    Exception in thread "main" org.jboss.ws.WSException: Cannot find configFile: META-INF/standard-jaxws-client-config.xml
    at org.jboss.ws.metadata.config.JBossWSConfigFactory.filenameToURL(JBossWSConfigFactory.java:196)
    at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:150)
    at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfigMetaData(EndpointMetaData.java:867)
    at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:849)
    at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:285)
    at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:268)
    at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:199)
    at javax.xml.ws.Service.getPort(Service.java:141)
    at aaa.bbb.sample.echo.EchoService.getEchoPort(EchoService.java:50)
    at client.Echo1Test.main(Echo1Test.java:66)
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0

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