IDE:
NetBeans 6.0.1 (Java EE Version)
Language: Java
Other Requirements Java EE SDK
Overview
In this tutorial we will build a simple credit card validator in Java using the Validate API.
The application is too simple to have much real world use but it will take you through the steps of connecting to the Validate Web Service and consuming a service.
In the application you will build a simple GUI (Using the Java Swing capabilities in NetBeans) were a user can enter a credit card number. On pressing the 'Validate' button the number will be sent to the Validate Web Service and validated as either a valid or invalid number. Finally the response back from the Validate Web Service will be captured and added to a label.
We encourage you to go through the steps presented her but the entire solution is also available on the Validate API SDK CD in the Tutorials folder.
![]() |
©Copyright 2023 Paygate Solutions Limited |