To test the service, we need to connect to the service and call each of the processing methods to see what we get back. For this reason, I have created a client that can use the functionality of the service, whether it is remote or local. The important thing to realize is that we haven’t yet implemented any type of authentication in the service, which means that anyone who has access to the server remotely would have access to call the functionality of the service. We will work on this in later chapters.
The Test Client
I have created a test client that looks like this and can be used to demonstrate the functionality of the service on any given port.
The code, which appears in Example 10-9, is very simple, but shows how easily ...