Search code examples
web-servicessoapwsdl

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.


Solution

  • I would suggest that you check if the values are matching the parameters, and double check the wsdl file.