}
transportPM.saveTransportListener(transportIn, true);
} else {
TransportOutDescription transportOut = axisConfig.getTransportOut(transportName);
if (transportOut != null) {
transportOut.getSender().stop();
} else {
transportOut = transportPM.getTransportSender(transportName, true);
axisConfig.addTransportOut(transportOut);
}
setParameters(transportOut, params);
try {
transportOut.getSender().init(cfgCtx, transportOut);
} catch (Throwable t) {
axisConfig.getTransportsOut().remove(transportName);
String msg = "Error while initializing the " + transportName + " sender";
log.error(msg, t);
throw new AxisFault(msg, t);