use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class ParticipantCompletionCoordinatorClient method sendExit.
/**
* Send an exit request.
* @param map addressing context initialised with to and message ID.
* @param identifier The identifier of the initiator.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendExit(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
if (WSTLogger.logger.isTraceEnabled()) {
WSTLogger.logger.trace(getClass().getSimpleName() + ".sendExit");
}
MAPEndpoint participant = getParticipant(endpoint, map);
AddressingHelper.installFromFaultTo(map, participant, identifier);
BusinessAgreementWithParticipantCompletionCoordinatorPortType port;
port = getPort(endpoint, map, exitAction);
NotificationType exit = new NotificationType();
port.exitOperation(exit);
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class CoordinatorCompletionParticipantClient method sendExited.
/**
* Send an exited request.
* @param map addressing context initialised with to and message ID.
* @param identifier The identifier of the initiator.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendExited(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
MAPEndpoint coordinator = getCoordinator(endpoint, map);
AddressingHelper.installFaultTo(map, coordinator, identifier);
BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
port = getPort(endpoint, map, exitedAction);
NotificationType exit = new NotificationType();
port.exitedOperation(exit);
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class CoordinatorCompletionParticipantClient method sendComplete.
/**
* Send a complete request.
* @param map addressing context initialised with to and message ID.
* @param identifier The identifier of the initiator.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendComplete(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
MAPEndpoint coordinator = getCoordinator(endpoint, map);
AddressingHelper.installFromFaultTo(map, coordinator, identifier);
BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
port = getPort(endpoint, map, completeAction);
NotificationType complete = new NotificationType();
port.completeOperation(complete);
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class CoordinatorCompletionParticipantClient method sendCancel.
/**
* Send a cancel request.
* @param map addressing context initialised with to and message ID.
* @param identifier The identifier of the initiator.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendCancel(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
MAPEndpoint coordinator = getCoordinator(endpoint, map);
AddressingHelper.installFromFaultTo(map, coordinator, identifier);
BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
port = getPort(endpoint, map, cancelAction);
NotificationType cancel = new NotificationType();
port.cancelOperation(cancel);
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class CoordinatorCompletionParticipantClient method sendClose.
/**
* Send a close request.
* @param map addressing context initialised with to and message ID.
* @param identifier The identifier of the initiator.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendClose(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
MAPEndpoint coordinator = getCoordinator(endpoint, map);
AddressingHelper.installFromFaultTo(map, coordinator, identifier);
BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
port = getPort(endpoint, map, closeAction);
NotificationType close = new NotificationType();
port.closeOperation(close);
}
Aggregations