public static void sendAckNow(RMMsgContext ackRMMsgContext) throws AxisFault { if (LoggingControl.isAnyTracingEnabled() && log.isDebugEnabled()) log.debug("Enter: AcknowledgementManager::sendAckNow"); // Write the acks into the envelope ackRMMsgContext.addSOAPEnvelope(); MessageContext ackMsgContext = ackRMMsgContext.getMessageContext(); // setting CONTEXT_WRITTEN since acksto is anonymous if (ackRMMsgContext.getMessageContext().getOperationContext() == null) { // operation context will be null when doing in a GLOBAL // handler. AxisOperation op = ackMsgContext.getAxisOperation(); OperationContext opCtx = OperationContextFactory.createOperationContext(op.getAxisSpecificMEPConstant(), op, ackRMMsgContext.getMessageContext() .getServiceContext()); ackRMMsgContext.getMessageContext().setOperationContext(opCtx); } ackRMMsgContext.getMessageContext().setServerSide(true); AxisEngine.send(ackMsgContext); if (LoggingControl.isAnyTracingEnabled() && log.isDebugEnabled()) log.debug("Exit: AcknowledgementManager::sendAckNow"); } }
OperationContext opcontext = OperationContextFactory.createOperationContext(ackOperation.getAxisSpecificMEPConstant(), ackOperation, serviceCtx); opcontext.setParent(getMsgContext().getServiceContext());
responseMsgOpCtx = OperationContextFactory.createOperationContext (op.getAxisSpecificMEPConstant(), op, serviceCtx);
getMsgContext().getAxisService()); OperationContext opcontext = OperationContextFactory.createOperationContext(terminateOp.getAxisSpecificMEPConstant(), terminateOp, getMsgContext().getServiceContext()); opcontext.setParent(getMsgContext().getServiceContext());
OperationContext opCtx = OperationContextFactory.createOperationContext(ackOperation.getAxisSpecificMEPConstant(), ackOperation, serviceCtx);
OperationContext opcontext = OperationContextFactory.createOperationContext(closeOperation.getAxisSpecificMEPConstant(), closeOperation, getMsgContext().getServiceContext()); opcontext.setParent(getMsgContext().getServiceContext());
OperationContext operationContext = OperationContextFactory.createOperationContext(operation.getAxisSpecificMEPConstant(), operation, newMessageContext.getServiceContext()); newMessageContext.setOperationContext(operationContext); operationContext.addMessageContext(newMessageContext);