WS code implemented

WS code implemented as a generic restful intent service