Good morning,

 

I'm trying to configuring an endpoint using CXF APIs.

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

 

I'm running under OSGI (Equinox) 3.5, with
cxf-dosgi-ri-singlebundle-distribution 1.1.0.

 

The same application perfectly runs if I use only JAX-WS, with the line 

Endpoint ep =
Endpoint.publish("http://localhost:9020/SoapContext/GreeterPort";, new
GreeterImpl());

 

Thank you very much for your interest.

 

Best Regards

 

Cristiano Ghersi

Software Engineer

ABODATA

 

 <mailto:[email protected]> [email protected]

Tel:    0039 010 3561059

Fax:   0039 010 3462174

        
                

 

 

Reply via email to