Now that you have your Web service provider running with all of its resources active, you are ready to send a JSON request to run the Web service. You can do this using any JSON requester tool.
{
"loanPaym" :
{
"LOANINP" :
{
"principal" : "5000",
"loanterm" : "36",
"rate" : "5.5"
}
}
}
http://localhost:5482/cics/services/json/loanpaym
You should receive the following JSON response:
{"loanpaymResponse": {"LOANOUT": {"monthlyPayment": "$150.97"}}}
This concludes the tutorial.