Webservices plugin : handling errors