Solved problem with ws.rest.url