2.4.11. jaxws service configuration

The jaxws service provides a JAX-WS 2.0 support for applications using Java EE 5 style webservices.

It is required to declare it if the configured JOnAS instance have to deploy Java EE application or modules that contains @WebService annotated classes (for the service endpoints) or if they contains @WebServiceRef / @WebServiceRefs (for client side usage of a webservice).

[Note] Note

If this service is not activated and deployed applications are using JAX-WS 2.0 APIs, @WebService annotated POJO or EJB 3.0 will not be exposed as webservices and @WebServiceRef fields/methods will not be injected (may conduct to NullPointerExceptions).

Here is the part of jonas.properties concerning the jaxws service:

###################### JOnAS JAX-WS 2.x service configuration
#
#  Set the name of the implementation class of the jaxws service
jonas.service.jaxws.class    org.ow2.jonas.ws.cxf.CXFService