sender.invoke(msgContext); flowComplete(msgContext);
public void run() { try { sender.invoke(msgctx); } catch (Exception e) { log.info(msgctx.getLogIDString() + " " + e.getMessage()); if (msgctx.getProperty(MessageContext.DISABLE_ASYNC_CALLBACK_ON_TRANSPORT_ERROR) == null) { AxisOperation axisOperation = msgctx.getAxisOperation(); if (axisOperation != null) { MessageReceiver msgReceiver = axisOperation.getMessageReceiver(); if ((msgReceiver != null) && (msgReceiver instanceof CallbackReceiver)) { Object callback = ((CallbackReceiver) msgReceiver) .lookupCallback(msgctx.getMessageID()); if (callback == null) return; // TODO: should we log this?? // The AxisCallback (which is OutInAxisOperationClient$SyncCallBack // used to support async-on-the-wire under a synchronous API // operation) need to be told the MEP is complete after being told // of the error. ((AxisCallback)callback).onError(e); ((AxisCallback)callback).onComplete(); } } } } } }
sender.invoke(msgContext); flowComplete(msgContext);
public void run() { try { sender.invoke(msgctx); } catch (Exception e) { log.info(msgctx.getLogIDString() + " " + e.getMessage()); if (msgctx.getProperty(MessageContext.DISABLE_ASYNC_CALLBACK_ON_TRANSPORT_ERROR) == null) { AxisOperation axisOperation = msgctx.getAxisOperation(); if (axisOperation != null) { MessageReceiver msgReceiver = axisOperation.getMessageReceiver(); if ((msgReceiver != null) && (msgReceiver instanceof CallbackReceiver)) { Object callback = ((CallbackReceiver) msgReceiver) .lookupCallback(msgctx.getMessageID()); if (callback == null) return; // TODO: should we log this?? // The AxisCallback (which is OutInAxisOperationClient$SyncCallBack // used to support async-on-the-wire under a synchronous API // operation) need to be told the MEP is complete after being told // of the error. ((AxisCallback)callback).onError(e); ((AxisCallback)callback).onComplete(); } } } } } }
sender.invoke(msgContext); flowComplete(msgContext); } else if (pi.equals(InvocationResponse.SUSPEND)) {
sender.invoke(msgContext); flowComplete(msgContext); } else if (pi.equals(InvocationResponse.SUSPEND)) {
sender.invoke(msgContext); flowComplete(msgContext); } else if (pi.equals(InvocationResponse.SUSPEND)) {
sender.invoke(msgContext); flowComplete(msgContext); } else if (pi.equals(InvocationResponse.SUSPEND)) {
new TransportNonBlockingInvocationWorker(msgContext, sender)); } else { sender.invoke(msgContext);
new TransportNonBlockingInvocationWorker(msgContext, sender)); } else { sender.invoke(msgContext);
msgContext.setProperty(HTTPConstants.HTTP_HEADERS, headerList); sender.init(confContext, transportOut); InvocationResponse inResponse = sender.invoke(msgContext); assertEquals("Not the expected InvocationResponse", InvocationResponse.CONTINUE, inResponse); return response;