Fixed service endpoint problem.