public void send(String name, int cnxId, java.util.Hashtable h) throws Exception {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG,
"SoapProxyService.send(" + name + ',' + cnxId + ',' + h + ')');
AbstractJmsRequest request = (AbstractJmsRequest) AbstractJmsMessage.soapDecode(h);
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG,
"--- " + this + " forwards request " + request + " with id " + request.getRequestId());
ProxyConnectionContext ctx = (ProxyConnectionContext) connections.get(new ConnectionKey(name, cnxId));
if (ctx == null)
throw new StateException("Connection " + name + ':' + cnxId + " closed.");