Update the service operation invocation exception handling.
Remove unused dependency.