Passing ws url properly