String endpointAddress = servlet.getEndpointAddress();
if (service != null && endpointAddress != null) {
for (ServiceContract serviceContract : modelServiceContracts) {
if (service.equals(serviceContract.getService())) {
publishers.add(
new DefaultContractReferencePublisher(
service, serviceContract.getDescription(), endpointAddress ) );
ContractProviderLifecycleResource.putContractProvider(
service.getCategory(), service.getName(), serviceContract.getContractProvider() );
break; // first ServiceContract matching a Servlet wins!
}