带有正确参数的 Savon 2.0 SOAP 请求上带有错误字符串“内部错误(来自客户端)”的“env:Client”SOAP 错误

`env:Client` SOAP Fault with fault string `Internal Error (from client)` on Savon 2.0 SOAP request with correct params

使用 Savon 2.0 发出 SOAP 请求,我得到一个 env:Client 错误代码,错误字符串为 Internal Error (from client):

D, [2020-06-09T05:37:51.323537 #8] DEBUG -- : HTTPI TLSv1_2/none POST request to REDACTED (httpclient)
I, [2020-06-09T05:37:51.370053 #8]  INFO -- : SOAP response (status 500)
D, [2020-06-09T05:37:51.370636 #8] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Body>
    <env:Fault>
      <faultcode>env:Client</faultcode>
      <faultstring>Internal Error (from client)</faultstring>
    </env:Fault>
  </env:Body>
</env:Envelope>

请求本身格式正确,包含所有必要的请求参数。

WSDL 定义了 sequence 元素,SOAP 错误是因为请求中参数的 order 与定义的顺序不一致。

https://w3schools.com/xml/el_sequence.asp

就我而言,这是因为肥皂操作错误 url。