*/
public void unRegister(BusinessService service, Node node) {
log.info("UnRegistering binding for service " + service.getName().get(0).getValue());
try {
String authToken = getAuthToken(node.getSecurityUrl());
DeleteBinding deleteBinding = new DeleteBinding();
deleteBinding.setAuthInfo(authToken);
for (BindingTemplate binding : service.getBindingTemplates().getBindingTemplate()) {
deleteBinding.getBindingKey().add(binding.getBindingKey());
}
getUDDINode().getTransport().getUDDIPublishService(node.getPublishUrl()).deleteBinding(deleteBinding);
} catch (Exception e) {
log.error("Unable to register service " + service.getName().get(0).getValue()
+ " ." + e.getMessage(),e);