2013-01-14 66 views
0

我要發佈我的WSDL在MULE和使用這些代碼:發佈與CXF 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

你使用的是Mule Studio還是純XML配置? – genjosanzo

+1

你的配置是正確的,運行得很好。不要被Studio的虛假錯誤所幹擾。 –

回答

0

Mule Studio顯示嵌入式e錯誤lements(這是一個bug),但你的配置看起來很好,運行提供的名稱空間聲明正確