【发布时间】:2014-03-13 22:03:43
【问题描述】:
我试图强制 WSO2 将 http 版本设置为 1.0,因为服务的客户端需要 Content-Length 属性。我在outSequence中配置了以下属性,在<send/>之前:
<property name="FORCE_HTTP_1.0" value="true" scope="axis2"/>
<property name="DISABLE_CHUNKING" value="true" scope="axis2"/>
但它不起作用!响应头:
HTTP/1.0 200 OK
userAgent: Synapse-PT-HttpComponents-NIO
Host: localhost:8280
SOAPAction: "sendMessage"
Accept-Encoding: gzip,deflate
Content-Type: text/xml; charset=UTF-8
Server: WSO2-PassThrough-HTTP
Date: Thu, 13 Mar 2014 21:55:25 GMT
Connection: Close
我正在使用 ESB 4.6.0 和 SoapUI 来调用该服务。
为什么Content-Length 没有出现?怎么了?
【问题讨论】:
标签: wso2 axis2 wso2esb http-1.0