dev@jax-ws.java.net

Valid service name in exception

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Tue, 30 Jan 2007 08:53:46 -0800

I've seen the following exception quite a few times:

-- cut here --
Caused by: javax.xml.ws.WebServiceException:
{http://example.org/wholesaler}Whol
esalerService is not a valid service. Valid services are:
         at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java
:187)
         at
com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java
:159)
         at
com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.ja
va:82)
-- cut here --

This is caused typically because of a typo in the service name. But I've
never seen the correct service name after "Valid services are:".

What can cause that ?

-Arun
-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta