我用Mule 3.3.2
cxf:proxy-client
这种方式调用第三方 Soap 服务:
<outbound-endpoint address="https://www.xyz.biz/Dms/Call.aws" mimeType="text/xml" connector-ref="https.connector" responseTimeout="100000">
<cxf:proxy-client payload="envelope" enableMuleSoapHeaders="false">
<cxf:inInterceptors>
<spring:bean class="org.apache.cxf.interceptor.LoggingInInterceptor" />
</cxf:inInterceptors>
<cxf:outInterceptors>
<spring:bean class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
</cxf:outInterceptors>
</cxf:proxy-client>
</outbound-endpoint>
默认情况下,消息被传输为chunked
好的,但不幸的是服务器无法处理。如何禁用分块,proxy-client
而不是传递标头。Transfer-Encoding: chunked
Content-Length