Home > Documentation > Configuring and administering > Configuring and administering the Apache Geronimo Server > Configuring JAX-WS engine |
Apache Geronimo is distributed with two JAX-WS engines: Apache Axis2 and Apache CXF.
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:
On a Windows system: set GERONIMO_OPTS=-Dorg.apache.geronimo.jaxws.provider=axis2
On a Unix-like system: 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:
On a Windows system: set GERONIMO_OPTS=-Dorg.apache.geronimo.jaxws.provider=cxf
On a Unix-like system: 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 where Sun JDK is not available:
set GERONIMO_OPTS=-Dorg.apache.geronimo.saaj.provider=axis2
export GERONIMO_OPTS=-Dorg.apache.geronimo.saaj.provider=axis2
<GERONIMO_HOME>/lib/endorsed/
directory.
Note that these options have not been tested.
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2013, The Apache Software Foundation, Licensed under ASL 2.0. |