Developing web services -part 3

  1. Select TestClient.java and Run As > Java Application (Make sure Tomcat is running).
  2. After running the TestClient, you will be prompted to enter your Credit card Number in the console as shown below:

(Type your Number for example 4111111111111111 and then Press ENTER to get valid input and valid vendor)

(Type your Number for example 5111111111111111 and then Press ENTER to get invalid input and valid vendor).

(Type your Number for example 5111111111111111 and then Press ENTER to get invalid input and valid vendor).