...
There are two way to configure which JAX-WS engine should be used:
- by setting a system property
- by changing the configuration
System property
Set the org.apache.geronimo.jaxws.provider property to either "cxf" or "axis2" and pass it to the Geronimo runtime.
System Property
...
For example, to configure CXF as a JAX-WS engine set:
export GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=cxf"
Configuration
To configure Axis2 as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:
- Remove the condition attribute and add the load="false" attribute to org.apache.geronimo.configs/cxf-deployer/2.0/car module.
- Remove the condition attribute and add the load="true" attribute to org.apache.geronimo.configs/axis2-deployer/2.0/car module.
To configure CXF as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:
- Remove the condition attribute and add the load="false" attribute to org.apache.geronimo.configs/axis2-deployer/2.0/car module.
- Remove the condition attribute and add the load="true" attribute to org.apache.geronimo.configs/cxf-deployer/2.0/car module.