public String saveDeploymentDescription(String serviceId, String hostId, String app)throws RegistryException{
try {
return registry.saveDeploymentDescription(serviceId, hostId, ApplicationDeploymentDescription.fromXML(app));
} catch (XmlException e) {
throw new RegistryException("Error saving ApplicationDescription Creation/Saving" , e); //To change body of catch statement use File | Settings | File Templates.
}
}