Hi Glen, thank you for the hint.
I tried to explicitly import the package javax.xml.ws from
cxf-dosgi-ri-singlebundle-distribution bundle in the MANIFEST.MF of the
bundle which publishes the Endpoints, but still the error appears.
Have you got any good strategy in order to have the package javax.xml.ws
been loaded from CXF bundle and not from JAX-WS RI in the JDK instead?

Thank you very much for your help.

Best
Cristiano





-----Messaggio originale-----
Da: Glen Mazza [mailto:[email protected]] 
Inviato: martedì 27 luglio 2010 14.52
A: [email protected]
Oggetto: Re: Problems on publishing EndPoint with CXF


It looks like the CXF JAX-WS runtime jars aren't being picked up, and as a
result you're using the JAX-WS RI in the JDK instead. 

Glen


Cristiano Ghersi wrote:
> 
> I'm following the procedure listed in
> <http://cxf.apache.org/docs/jax-ws-configuration.html>
> http://cxf.apache.org/docs/jax-ws-configuration.html, at the paragraph:
> Configuring an Endpoint/Client Proxy Using CXF APIs
> 
> But when I start my server, I have a ClassCastException:
> com.sun.xml.internal.ws.transport.http.server.EndpointImpl cannot be cast
> to
> org.apache.cxf.jaxws.EndpointImpl
> 

-- 
View this message in context:
http://cxf.547215.n5.nabble.com/Problems-on-publishing-EndPoint-with-CXF-tp2
255658p2255784.html
Sent from the cxf-user mailing list archive at Nabble.com.

Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com 
Versione: 9.0.851 / Database dei virus: 271.1.1/3030 -  Data di rilascio:
07/26/10 20:34:00

Reply via email to