1
我试图按照此配置通过mule中的单个端点公开多个服务接口: 每个服务接口都有稍微不同URL (1)http://localhost/services/Login (2)http://localhost/services/Admin如何通过Mule ESB中的单个http:入站端点公开多个cxf:jaxws服务ESB
但是我得到
任何提示的错误 “已经被注册的地址SOAP 1.1端点” 如何做到这一点?我只想使用cxf服务来在SOAP和Java之间进行marshall/unmarshall,并在以后提供ws安全性。
<flow name="flow_Services">
<http:inbound-endpoint address="http://localhost/services" exchange-pattern="request-response">
<choice>
<when expression="inbound:http.request=/services/Login" evaluator="header">
<cxf:jaxws-service serviceClass="com.ws.client.generated.Login" />
<component><spring-object bean="Login"/></component>
</when>
<when expression="inbound:http.request=/services/Admin" evaluator="header">
<cxf:jaxws-service serviceClass="com.ws.client.generated.Admin" />
<component><spring-object bean="Admin"/></component>
</when>
</choice>