Added resolver for web xml and added code for a rest service