test for java web service