test for Java resfull webservices