/** * Send a failed 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 sendFailed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, failedAction); NotificationType failed = new NotificationType(); port.failedOperation(failed); }
/** * Send a failed 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 sendFailed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, failedAction); NotificationType failed = new NotificationType(); port.failedOperation(failed); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, cancelAction); NotificationType cancel = new NotificationType(); port.cancelOperation(cancel); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, exitedAction); NotificationType exited = new NotificationType(); port.exitedOperation(exited); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, closeAction); NotificationType close = new NotificationType(); port.closeOperation(close); }
/** * Send a not completed 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 sendNotCompleted(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, notCompletedAction); NotificationType notCompleted = new NotificationType(); port.notCompleted(notCompleted); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, cancelAction); NotificationType cancel = new NotificationType(); port.cancelOperation(cancel); }
/** * Send a compensate 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 sendCompensate(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, compensateAction); NotificationType compensate = new NotificationType(); port.compensateOperation(compensate); }
/** * Send a get status 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 sendGetStatus(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, getStatusAction); NotificationType getStatus = new NotificationType(); port.getStatusOperation(getStatus); }
/** * Send a compensate 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 sendCompensate(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, compensateAction); NotificationType compensate = new NotificationType(); port.compensateOperation(compensate); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, exitedAction); NotificationType exited = new NotificationType(); port.exitedOperation(exited); }
/** * Send a not completed 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 sendNotCompleted(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, notCompletedAction); NotificationType notCompleted = new NotificationType(); port.notCompleted(notCompleted); }
/** * Send a not completed 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 sendNotCompleted(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, notCompletedAction); NotificationType notCompleted = new NotificationType(); port.notCompleted(notCompleted); }
/** * Send a get status 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 sendGetStatus(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, getStatusAction); NotificationType getStatus = new NotificationType(); port.getStatusOperation(getStatus); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, cancelAction); NotificationType cancel = new NotificationType(); port.cancelOperation(cancel); }
/** * Send a get status 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 sendGetStatus(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, getStatusAction); NotificationType getStatus = new NotificationType(); port.getStatusOperation(getStatus); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, closeAction); NotificationType close = new NotificationType(); port.closeOperation(close); }
/** * Send a failed 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 sendFailed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, failedAction); NotificationType failed = new NotificationType(); port.failedOperation(failed); }
/** * 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); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, exitedAction); NotificationType exited = new NotificationType(); port.exitedOperation(exited); }
/** * Send a status 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 sendStatus(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier, final QName state) throws SoapFault, IOException { MAPEndpoint coordinator = getCoordinator(endpoint, map); AddressingHelper.installFromFaultTo(map, coordinator, identifier); BusinessAgreementWithParticipantCompletionParticipantPortType port; port = getPort(endpoint, map, statusAction); StatusType status = new StatusType(); status.setState(state); port.statusOperation(status); }