kduma-OSS/LV-soap-server

Request example

Opened this issue · 0 comments

Hey, this my first time setting up/working a soap web services, and I'm having a problem with the client side.
Would you please be able to provide examples of how to call the web service from the client side?

I have tried making a POST request using the following request body

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Sum>
        <a>100</a>
        <b>20</b>
    </Sum>
  </soap:Body>
</soap:Envelope>

I get the following response back

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>Procedure 'Sum' not present</faultstring>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>