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:5639/cics/services/LOANPAYM
You should receive the following JSON response:
{"LOANPAYMResponse": {"LOANOUT": {"monthlyPayment": "$150.97"}}}
This concludes the tutorial.