/** * 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(final W3CEndpointReference coordinator, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(coordinator); AddressingHelper.installFromFaultTo(map, participant, identifier); final TerminationCoordinatorPortType port = getPort(coordinator, map, identifier, completeAction); final NotificationType complete = new NotificationType(); port.completeOperation(complete); }
/** * 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(final W3CEndpointReference coordinator, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(coordinator); AddressingHelper.installFromFaultTo(map, participant, identifier); final TerminationCoordinatorPortType port = getPort(coordinator, map, identifier, completeAction); final NotificationType complete = new NotificationType(); port.completeOperation(complete); }
/** * 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(final W3CEndpointReference coordinator, final MAP map, final InstanceIdentifier identifier) throws SoapFault, IOException { MAPEndpoint participant = getParticipant(coordinator); AddressingHelper.installFromFaultTo(map, participant, identifier); final TerminationCoordinatorPortType port = getPort(coordinator, map, identifier, completeAction); final NotificationType complete = new NotificationType(); port.completeOperation(complete); }