簡體   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