<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&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"
<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&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"