}
if (!found)
throw new NoEndpointFoundException(
FileEndpointResolverStrings.format("notfound","No endpoint found for service \"{0}\" in endpoint file \"{1}\"",serviceName,endpointFileURL)
);
return new EndpointMetadata(new ServiceMetadata(serviceName,serviceName),endpoint);
}