use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithParticipantCompletionParticipantPortTypeImpl method exitedOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "ExitedOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Exited")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Exited")
public void exitedOperation(@WebParam(name = "Exited", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType exited = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
ParticipantCompletionParticipantProcessor.getProcessor().exited(exited, inboundMap, arjunaContext);
}
});
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithParticipantCompletionParticipantPortTypeImpl method getStatusOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "GetStatusOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatus")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatus")
public void getStatusOperation(@WebParam(name = "GetStatus", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType getStatus = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
ParticipantCompletionParticipantProcessor.getProcessor().getStatus(getStatus, inboundMap, arjunaContext);
}
});
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithParticipantCompletionParticipantPortTypeImpl method closeOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CloseOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Close")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Close")
public void closeOperation(@WebParam(name = "Close", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType close = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
ParticipantCompletionParticipantProcessor.getProcessor().close(close, inboundMap, arjunaContext);
}
});
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithParticipantCompletionParticipantPortTypeImpl method notCompleted.
/**
* @param parameters
*/
@WebMethod(operationName = "NotCompleted", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted")
public void notCompleted(@WebParam(name = "NotCompleted", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType notCompleted = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
ParticipantCompletionParticipantProcessor.getProcessor().notCompleted(notCompleted, inboundMap, arjunaContext);
}
});
}
use of org.orcid.jaxb.model.notification_v2.NotificationType in project narayana by jbosstm.
the class CoordinatorCompletionCoordinatorClient method sendClosed.
/**
* Send a closed 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 sendClosed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException {
MAPEndpoint participant = getParticipant(endpoint, map);
AddressingHelper.installFaultTo(map, participant, identifier);
BusinessAgreementWithCoordinatorCompletionCoordinatorPortType port;
port = getPort(endpoint, map, closedAction);
NotificationType closed = new NotificationType();
port.closedOperation(closed);
}
Aggregations