Added some debug output to the webservice operation