added WebService with test function