use of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationCoordinatorRPCPortType in project narayana by jbosstm.
the class TerminationCoordinatorRPCClient method sendCancel.
/**
* 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(final W3CEndpointReference coordinator, final MAP map, final InstanceIdentifier identifier) throws SoapFault11, IOException {
final TerminationCoordinatorRPCPortType port = getPort(coordinator, map, cancelAction);
final NotificationType cancel = new NotificationType();
try {
port.cancelOperation(cancel);
} catch (SOAPFaultException sfe) {
throw SoapFault11.create(sfe);
}
}
use of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationCoordinatorRPCPortType in project narayana by jbosstm.
the class TerminationCoordinatorRPCClient method sendComplete.
/**
* 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 SoapFault11, IOException {
final TerminationCoordinatorRPCPortType port = getPort(coordinator, map, completeAction);
final NotificationType complete = new NotificationType();
try {
port.completeOperation(complete);
} catch (SOAPFaultException sfe) {
throw SoapFault11.create(sfe);
}
}
use of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationCoordinatorRPCPortType in project narayana by jbosstm.
the class TerminationCoordinatorRPCClient method sendClose.
/**
* 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(final W3CEndpointReference coordinator, final MAP map, final InstanceIdentifier identifier) throws SoapFault11, IOException {
final TerminationCoordinatorRPCPortType port = getPort(coordinator, map, closeAction);
final NotificationType close = new NotificationType();
try {
port.closeOperation(close);
} catch (SOAPFaultException sfe) {
throw SoapFault11.create(sfe);
}
}
Aggregations