基本肥皂请求问题
Basic Soap Request issue
我对 SOAP 协议还很陌生。
我有这个示例 SOAP:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<processSOAPReq xmlns="http://tempuri.org/">
<sRequest>string</sRequest>
<sResponse>string</sResponse>
</processSOAPReq>
</soap:Body>
</soap:Envelope>
我得到了另一个 xml 样品请求。我一直试图将此示例请求放在上面的 <sRequest>string</sRequest>
中,但我总是得到 Bad Request
或
server was unable to process request. ---> Value cannot be null. Parameter name: input
我做错了什么。我已经尝试使用 SOAPUI 很长时间了。
顺便说一句,我也有 wsdl,但我仍然不明白正确的请求应该是什么。
我建议您检查值是否与参数匹配,并仔细检查 wsdl 文件。
我对 SOAP 协议还很陌生。
我有这个示例 SOAP:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<processSOAPReq xmlns="http://tempuri.org/">
<sRequest>string</sRequest>
<sResponse>string</sResponse>
</processSOAPReq>
</soap:Body>
</soap:Envelope>
我得到了另一个 xml 样品请求。我一直试图将此示例请求放在上面的 <sRequest>string</sRequest>
中,但我总是得到 Bad Request
或
server was unable to process request. ---> Value cannot be null. Parameter name: input
我做错了什么。我已经尝试使用 SOAPUI 很长时间了。
顺便说一句,我也有 wsdl,但我仍然不明白正确的请求应该是什么。
我建议您检查值是否与参数匹配,并仔细检查 wsdl 文件。