public void ExitedOperation()

in src/org/apache/kandula/wsba/BACoordinatorCompletionParticipantServiceSkeleton.java [146:181]


	public void ExitedOperation(org.oasis_open.docs.ws_tx.wsba._2006._06.Exited param8)
			throws AxisFault
	{
		OMElement header = MessageContext.getCurrentMessageContext().getEnvelope().getHeader();
		OMElement firstChildWithName = header
				.getFirstChildWithName(Constants.REQUESTER_ID_PARAMETER);
		if (firstChildWithName != null) {
			String requesterID = firstChildWithName.getText();
			AbstractContext context2 = StorageUtils.getContext(requesterID);
			if (context2 != null) {
				ParticipantContext context = (ParticipantContext) context2;
				BAParticipantTransactionCoordinator participantCoordinator = new BAParticipantTransactionCoordinator();
				try {
					participantCoordinator.exited(context);
				} catch (AbstractKandulaException e) {
					log.fatal("WS_BA : " + context.getCoordinationContext().getActivityID()
							+ " : ExitedOperation :" + e);
					throw AxisFault.makeFault(e);
				}
			} else
			// participant context migt have been already removed by an earlier
			// exited
			{
				log.info("WS_BA : Message ID "
						+ MessageContext.getCurrentMessageContext().getMessageID()
						+ " : ExitedOperation : Participant Context Not Found.");
			}
		} else {
			AxisFault e = new AxisFault(
					"Requester ID header is not found in the message. Please check whether ws-addressing is enabled in the coordinator.");
			log.fatal("WS_BA : Message ID "
					+ MessageContext.getCurrentMessageContext().getMessageID()
					+ " : ExitedOperation :" + e);
			throw e;
		}
	}