resolve with rest service