Handling service max url length error #92

Here is my solution for issue #92