proxy.stop(getSynapseConfiguration());
getSynapseConfiguration().removeProxyService(existingArtifactName);
if (!existingArtifactName.equals(proxy.getName())) {
log.info("ProxyService named " + existingArtifactName + " has been Undeployed");
}
proxy.buildAxisService(getSynapseConfiguration(),
getSynapseConfiguration().getAxisConfiguration());
if (log.isDebugEnabled()) {
log.debug("Started the ProxyService : " + proxy.getName());
}
getSynapseConfiguration().addProxyService(proxy.getName(), proxy);