This handler makes a SOAP call (using Savon) to the SharePoint Web Services to create a new contact in a Contact list. Savon is then configured to work with the given account credentials. Next the Batch XML structure is built to give the Web Service the information it needs to create the new contact, which is then passed via a SOAP call to SharePoint, where the contact is created and posted to the list. Any errors that occur during this process will be caught and re-raised by the handler. Authentication is done through SSL, so the SharePoint site being accessed needs to be setup to allow SSL connections.
Make sure the SharePoint Web Services database is turned on.