Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request example #3

Open
mrbuku opened this issue Jun 10, 2023 · 0 comments
Open

Request example #3

mrbuku opened this issue Jun 10, 2023 · 0 comments

Comments

@mrbuku
Copy link

mrbuku commented Jun 10, 2023

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant