简体   繁体   中英

Basic Soap Request issue

I am very new to SOAP protocol.

I have this sample 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>

I am given another xml with sample request. I have been trying to put this sample request inside the <sRequest>string</sRequest> above but I always get Bad Request or

server was unable to process request. ---> Value cannot be null. Parameter name: input

What am I doing wrong. I have been trying for a long time now using SOAPUI.

Btw I also have wsdl but I still do not understand what the correct request should be.

我建议您检查这些值是否与参数匹配,并仔细检查wsdl文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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