我们有一个遗产SOAP web service
,使用Apache Axis 1
. 在客户端环境中,响应数据有时会在某些 API 调用中被截断,从而导致错误。但是当使用 SOAP UI 客户端进行测试时,它会按预期返回完整数据。此行为无法在我们的开发环境中本地复制,并且仅发生在客户端办公室。他们确实有前端代理和东西来路由请求。
我们仍在使用HTTP 1.0
. 这会导致大负载出现任何问题吗?升级到 需要多少努力HTTP 1.1
?这将是一个简单的标题升级说明HTTP/1.1
吗?
我们已经在使用utf-8
请求和响应对数据进行编码。
示例 SOAP 请求:
[POST /apixyzCall HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1beta
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://abc/SoapManager"
Content-Length: 983
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
PAYLOAD
</soapenv:Body>
</soapenv:Envelope>
]
有小费吗?