You could test the loan application control through a page flow or a web service. In this step, you will create a web service that accesses the control.
The tasks in this step are:
To create a new web service:
After creating the web service, it is automatically displayed in Design View. To modify the web service to access the existing loan approval control, do the following steps:
The new control is added to the right-hand side of Design View.
A corresponding web method is added to the web service client interface.
We now have a web service that:
Now that the web service contains an operation, you can test it. To test the web service:
Enter a 9-digit ssn and a loan amount and click getLoanApproval. When you have reviewed the result of running the operation, click Show Operations to return to the main test client page so that you can run another test.