【发布时间】:2013-01-14 23:28:24
【问题描述】:
我想在 MULE 中发布我的 WSDL 并使用以下代码:
<flow name="cxfProxy">
<http:inbound-endpoint
address="http://localhost:8080/fed-ach"
exchange-pattern="request-response">
**<cxf:proxy-service
wsdlLocation="http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl"
namespace="http://wsf.cdyne.com/"
service="FedACH"
payload="body" />**
</http:inbound-endpoint>
<copy-properties propertyName="SOAPAction" />
<http:outbound-endpoint
address="http://wsf.cdyne.com/WeatherWS/Weather.asmx"
exchange-pattern="request-response">
**<cxf:proxy-client payload="body" />**
</http:outbound-endpoint>
但是在粗体中我有这个错误
元素:代理服务不允许是元素 HTTP 的子元素
【问题讨论】:
-
您使用的是 Mule Studio 还是纯 XML 配置?
-
您的配置是正确的并且运行良好。不要被 Studio 的虚假错误打扰。