Nate W [
http://community.jboss.org/people/nel100] created the discussion
"ClassCastException when trying to access web service"
To view the discussion, visit:
http://community.jboss.org/message/598141#598141
--------------------------------------------------------------
Hi,
I'm developing a client with maven-jaxws-tools-plugin and CXF.
After successfully creating a client and deploying it on JBoss (5.1.0GA), I tried to
access a web service with this client, but without success.
I get the following error:
java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider
org.jboss.ws.core.jaxws.spi.ProviderImpl could not be instantiated:
java.lang.ClassCastException
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.access$100(Unknown Source)
at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
at java.util.ServiceLoader$1.next(Unknown Source)
at javax.xml.ws.spi.Provider.getProviderUsingServiceLoader(Provider.java:146)
at javax.xml.ws.spi.Provider.provider(Provider.java:106)
at javax.xml.ws.Service.<init>(Service.java:57)
Searching the web for help didn't come up with usefull results.
Any suggestions?
Thanks,
Nethanel
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/598141#598141]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]