test java client for  restfull webservices