/** * Send a prepared 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 sendPrepared(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFromFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, preparedAction); Notification prepared = new Notification(); port.preparedOperation(prepared); }
/** * Send a prepared 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 sendPrepared(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFromFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, preparedAction); Notification prepared = new Notification(); port.preparedOperation(prepared); }
/** * 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 prepared 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 sendPrepared(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(endpoint, map); AddressingHelper.installFromFaultTo(map, participant, identifier); CoordinatorPortType port = getPort(endpoint, map, preparedAction); Notification prepared = new Notification(); port.preparedOperation(prepared); }
/** * 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); }
/** * 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); }
/** * 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 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 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); }