|
| Home > Apache Geronimo v2.0 > Documentation > Administration > Administrative tasks > Administering the Apache Geronimo Server > Configure JAX-WS engine |
Apache Geronimo 2.0 is distributed with two JAX-WS engines: Apache Axis2
and Apache CXF
. The Geronimo-Jetty assembly defaults to use CXF as its JAX-WS engine whereas the Geronimo-Tomcat assembly uses Axis2.
There are two ways to configure which JAX-WS engine should be used:
To configure Axis2 as Geronimo's JAX-WS engine, set the org.apache.geronimo.jaxws.provider system property to "axis2". For example:
export GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=axis2"
To configure CXF as Geronimo's JAX-WS engine, set the org.apache.geronimo.jaxws.provider system property to "cxf". For example:
export GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=cxf"
To configure Axis2 as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:
To configure CXF as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:
By default, CXF will use Sun's SOAP with Attachments API for Java (SAAJ) implementation. That implementation requires Sun JDK. There are a few options for platforms were Sun JDK is not available:
|
Please note that these options have not been tested. |