我想公开骡子及其工作的WebService。在Mule上暴露WebService
- 我的问题是,我不确定这是暴露Web服务的正确方法。
- 正如我希望能够看到我的骡子HTTP入站端点WSDL即
XXX:8084/HelloService的WSDL
,请注意,实际服务端口8085运行。
<flow name="WS_In" doc:name="WS_In">
<http:inbound-endpoint address="http://localhost:8084/HelloService" exchange-pattern="request-response" doc:name="HTTP">
<cxf:proxy-service wsdlLocation="http://localhost:8085/HelloService?WSDL" payload="envelope" namespace="http://example.org/HelloService" service="Hello"/>
</http:inbound-endpoint>
<http:outbound-endpoint exchange-pattern="request-response" host="localhost" port="8085" doc:name="HTTP" path="test"/>
</flow>
感谢您的答复和链接大卫,是我只是_proxying_它。 – 2013-02-12 19:14:17