我想在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的子元素
答案 0 :(得分:0)
Mule Studio显示嵌入式元素的错误(这是一个错误),但您的配置看起来很好并且运行提供的命名空间正确声明