making webservice work