UDDISubscriptionPortType subscriptionService = transport.getUDDISubscriptionService();
DeleteSubscription deleteSubscription = new DeleteSubscription();
String authToken = (String) session.getAttribute("token-" + clerk.getName());
deleteSubscription.setAuthInfo(authToken);
deleteSubscription.getSubscriptionKey().add(modelSubscription.getSubscriptionKey());
subscriptionService.deleteSubscription(deleteSubscription);
logger.info("Deleted Subscription " + modelSubscription.getSubscriptionKey()
+ " from UDDI server " + clerk.getUDDINode().getName());
} catch (Exception e) {
error = "Could not delete subscription. Reason: " + e.getMessage();
logger.error(error, e);