Added validation to Web Service initialization