/** * 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 read only 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendReadOnly(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, readOnlyAction); Notification readOnly = new Notification(); port.readOnlyOperation(readOnly); }
/** * Send a committed 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 sendCommitted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, committedAction); Notification commited = new Notification(); port.committedOperation(commited); }
/** * Send an aborted 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 sendAborted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, abortedAction); Notification aborted = new Notification(); port.abortedOperation(aborted); }
/** * Send a committed 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendCommitted(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, committedAction); Notification committed = new Notification(); port.committedOperation(committed); }
/** * Send a committed 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 sendCommitted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, committedAction); Notification commited = new Notification(); port.committedOperation(commited); }
/** * Send an aborted 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 sendAborted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, abortedAction); Notification aborted = new Notification(); port.abortedOperation(aborted); }
/** * Send a read only 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendReadOnly(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, readOnlyAction); Notification readOnly = new Notification(); port.readOnlyOperation(readOnly); }
/** * Send a committed 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 sendCommitted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, committedAction); Notification commited = new Notification(); port.committedOperation(commited); }
/** * Send an aborted 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 sendAborted(final W3CEndpointReference participant, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint coordinator = getCompletionCoordinator(participant); AddressingHelper.installFaultTo(map, coordinator, identifier); CompletionInitiatorPortType port = getPort(participant, map, abortedAction); Notification aborted = new Notification(); port.abortedOperation(aborted); }
/** * 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 sendNotCompleted(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, notCompletedAction); NotificationType notCompleted = new NotificationType(); port.notCompleted(notCompleted); }
/** * 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); BusinessAgreementWithCoordinatorCompletionParticipantPortType port; port = getPort(endpoint, map, exitedAction); NotificationType exit = new NotificationType(); port.exitedOperation(exit); }
/** * 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); BusinessAgreementWithParticipantCompletionCoordinatorPortType port; port = getPort(endpoint, map, closedAction); NotificationType closed = new NotificationType(); port.closedOperation(closed); }
/** * 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 compensated 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 sendCompensated(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, compensatedAction); NotificationType compensated = new NotificationType(); port.compensatedOperation(compensated); }
/** * Send an aborted 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendAborted(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, abortedAction); Notification aborted = new Notification(); port.abortedOperation(aborted); }
/** * Send a read only 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendReadOnly(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, readOnlyAction); Notification readOnly = new Notification(); port.readOnlyOperation(readOnly); }
/** * Send a committed 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 SOAP errors. * @throws java.io.IOException for any transport errors. */ public void sendCommitted(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, committedAction); Notification committed = new Notification(); port.committedOperation(committed); }