* @param serverName the server name to publish
* @throws CSGException throws in case of an error
*/
public void unPublishService(String serviceName, String serverName) throws CSGException {
CSGServicePublisher servicePublisher = new CSGAgentConfigLayer().getCSGServicePublisher();
if (servicePublisher.unPublish(serviceName, serverName)) {
log.info("The service '" + serviceName + "', un-published sucessfully");
} else {
handleException("Cloud not un-publish the service");
}
}