An example is a free SOAP web service providing CAPTCHA functionality to distinguish bots from real human users. Usually a web service requires you to make an account to access it's functionality. So let's register at to get a client GUID and password. Now that we have authentication to access the web service let's code a simple form with CAPTCHA functionality.

Let's write the code: