JAX-WS bundled with WLS complains WSDL is not a valid service (Doc ID 1063358.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle Weblogic Server - Version: 10.0 to 10.0
Information in this document applies to any platform.

Symptoms

When invoking a web service using JAX-WS stack at runtime, the following exception is thrown by the client:

javax.xml.ws.WebServiceException:
{http://ei.company.com/schemas/envelope/v3_0}GetProfileService is not a valid service. Valid services are:
  at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:210)
  at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
  at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:49)
  at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:18)
  at javax.xml.ws.Service.<init>(Service.java:57)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms