我已经安装了Apache Geronimo 3.0.1 with Tomcat 7 and Axis2
应用程序服务器来部署我的应用程序。我使我的应用程序在 Geronimo 中工作。我特别想知道 Apache geronimo 可以配置哪些组件Apache CXF
,通过这个链接我了解了 Geronimo 的组件。
现在我想Apache CXF
在 Geronimo 中进行配置。链接配置 JAX-WS 引擎说明了如何Apache CXF
在 Geronimo 中进行配置。自从我安装Apache Geronimo 3.0.1 with Tomcat 7 and Axis2
后,Apache Axis2
它就按照给定的链接与 Apache Geronimo 捆绑在一起。因此,我无法按照指南cxf
中的过程在 geronimo 中进行配置,例如Configure JAX-WS engine
1.Remove the condition attribute and add the load="false" attribute to org.apache.geronimo.configs/axis2-deployer/2.0/car module.
2.Remove the condition attribute and add the load="true" attribute to org.apache.geronimo.configs/cxf-deployer/2.0/car module.
我确实设置了环境变量以及
GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=axis2"
但没有用。
谁能告诉我如何在 Geronimo 中配置 Apache CXF 以及如何在我的应用程序中使用此服务?
注意:我想使用本地交通服务,这就是为什么我想使用RESTfull Http
而不是Apache cxf
Apache cxf
Apache axis