BAZ-30 Improved algorith for getting the final servive invocation url