我试图强制 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
不出现?怎么了?