【发布时间】:2013-08-19 17:07:31
【问题描述】:
我用Mule 3.3.2cxf: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 标头。
【问题讨论】:
标签: http https http-headers mule