【发布时间】:2014-05-16 06:42:35
【问题描述】:
我正在 Jboss Fuse 环境中开发基于 CXF 的 Web 服务。如果我使用 pax.web.cfg 中定义的默认 org.osgi.service.http.port=8181 是否可以,或者我应该始终在我的 cxf 端点中指定一个显式端口?
对于第一个选项,我的 cxf 端点如下所示:
<cxf:cxfEndpoint id="myWebService.endpoint"
address="/services/WebService/1.0"
...
对于第二个选项,它看起来像:
<cxf:cxfEndpoint id="myWebService.endpoint"
address="http://0.0.0.0:{port}/services/WebService/1.0"
...
是否允许我的所有 CXF 网络服务使用端口 8181?
【问题讨论】:
标签: osgi-bundle fuseesb jbossfuse