Properties properties = toProperties(action.getPropertyList());
provider.setContractProperties(properties);
} catch (Exception e) {
throw new RuntimeException("Failed to create ContractProvider", e);
}
ServiceContract serviceContract = new ServiceContract(
new org.jboss.soa.esb.Service(service.getCategory(), service.getName()),
service.getDescription(),
provider
);
serviceContractList.add(serviceContract);