Hi

Few weeks ago, while looking at the issue reported against deploying the jaxrs services I also tested the deployment of jaxws services and I updated the reference guide a a result.

I had no problems with updating a greeter demo to use JAXWS - note that you have to ensure JAXWS and/or JAXB annotations are available at runtime by adding the right Import-Package directives. In case of the demo, I updated the greeter-client component to use JAXWS annotations and updated the pom.xml to import the annotations, and then I did update the pom for the greeter_impl as well...

here's the note from the reference page which you linked to :

"Note that for JAXWS to work a javax.jws.* has to be imported into the interface and/or implementation and client bundles for annotations like @WebService and @WebMethod be recognized", there's a similar note for JAXB....

cheers, Sergey

----- Original Message ----- From: "FrozenQ" <[email protected]>
To: <[email protected]>
Sent: Friday, October 23, 2009 1:42 PM
Subject: Problem configuring CXF DOSGi to run with JAX-WS



Hi guys,

I have a problem configuring a DOSGi/CXF service to use JAXB databinding and
JAX-WS frontend. I have set the following bundle registration properties in
the service activator as described on the DOSGi/CXF reference page
(http://cxf.apache.org/distributed-osgi-reference.html):

1) org.apache.cxf.ws.databinding : "jaxb"
2) org.apache.cxf.ws.frontend : "jaxws"

Unfortunately, the generated WSDL does not include any type defintions or
operation specifications. The same problem is already described in this
thread: http://www.nabble.com/DOSGI---problem-with-jax-ws-td24514255.html ,
but there is no working solution provided. I also have added the imports
(javax.jws.*, javax.xml.bind.annotation.*) to the bundles as suggested on
the reference page mentioned above.

Does anybody know how to solve this issue?

Many thanks in advance.
--
View this message in context: 
http://www.nabble.com/Problem-configuring-CXF-DOSGi-to-run-with-JAX-WS-tp26025706p26025706.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to