Webservice without rest api as rest api