<flow name="webserviceFlow1">
<http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:7079/service">
<cxf:jaxws-service doc:name="SOAP" enableMuleSoapHeaders="false" serviceClass="MyService"/>
</http:inbound-endpoint>
<component class="MyServiceImpl" />
</flow>
和
<flow name="webserviceFlow1">
<http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:7079/service"/>
<cxf:jaxws-service doc:name="SOAP" enableMuleSoapHeaders="false" serviceClass="MyService"/>
<component class="MyServiceImpl" />
</flow>
答案 0 :(得分:3)
如果流程保持在问题中,那么它们在功能上是等效的。
如果您希望此流程也可以通过<composite-source>
通过VM传输进行直接请求,那么您需要将cxf:jaxws-service
限制为{{1}所以CXF逻辑没有启动,如下所示:
http:inbound-endpoint