【发布时间】:2017-10-26 10:07:29
【问题描述】:
要求 SOAP WSDL Url 和 Endpoint URL 必须彼此不同。我在下面使用 Apache Camel 和 Apache CXF 是我的蓝图,但是当我在端口 8043 请求时,当我将其更改为 9143 时,那里没有 wsdl。
需要在url上暴露wsdl:http://0.0.0.0:8043/Services/Interface/FSServices/FSServices.serviceagent?wsdl
端点 URL 为:http://0.0.0.0:9143/Services/Interface/FSServices/FSServices.serviceagent/PortTypeEndpoint1/
<cxf:cxfEndpoint
address="http://0.0.0.0:8043/Services/Interface/FSServices/FSServices.serviceagent"
id="fsEndpoint" serviceClass="pk.com.herman.fs.operation.PortType">
<cxf:properties>
<entry key="publishedEndpointUrl" value="http://0.0.0.0:9143/Services/Interface/FSServices/FSServices.serviceagent/PortTypeEndpoint1/"/>
</cxf:properties>
</cxf:cxfEndpoint>
【问题讨论】:
-
所以更改两个端口号。你有两个 IP 地址。
标签: soap apache-camel cxf