繁体   English   中英

基本肥皂请求问题

[英]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文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM