MULE ESB发布CXF服务

来源:互联网 发布:fluent软件怎么下载 编辑:程序博客网 时间:2024/05/06 10:23
<service name="XXXService">
<inbound>
        <inbound-endpoint address="http://${esb.webservice.in.address}:${esb.webservice.in.port}/XXX/services"
exchange-pattern="request-response">
        <cxf:jaxws-service serviceClass="com.XXX.XX.service.XXService"/>
</inbound-endpoint>
</inbound>
        <component>
            <singleton-object class="com.XXX.XXX.service.XXXService"/>
        </component>

访问别人的,CXF基本可以了:
  <outbound-endpoint
                        address="wsdl-cxf:http://XXXX?wsdl&amp;method=XXX"
                        exchange-pattern="request-response"/>
从3.0源代码自编译axis的transports后还可以将wsdl-cxf改成wsdl-axis
             
复杂数据类型可以用http
<http:outbound-endpoint address="http://XXX" method="POST" contentType="application/xml"
                   exchange-pattern="request-response"
原创粉丝点击