validating webservices and agent