Now that you have your Web service provider running with all of its resources active, you are ready to send a SOAP request to run the Web service. You can do this using any SOAP requester tool.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:loan="http://tempuri.org/loanPaym">
<soapenv:Header/>
<soapenv:Body>
<loan:loanPaymOperation>
<loan:LOANINP>
<loan:principal>50000</loan:principal>
<loan:loanterm>180</loan:loanterm>
<loan:rate>5.56</loan:rate>
</loan:LOANINP>
</loan:loanPaymOperation>
</soapenv:Body>
</soapenv:Envelope>
http://localhost:5482/cics/services/loanPaym
You should receive the following SOAP response:
<SOAP-ENV:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:loan="http://tempuri.org/loanPaym"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<loanPaymOperationResponse xmlns="http://www.loanPaym.com">
<LOANOUT>
<monthlyPayment>$410.13</monthlyPayment>
</LOANOUT>
</loanPaymOperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This concludes the tutorial.