use of com.arjuna.schemas.ws._2005._10.wsarjtx.TerminationParticipantPortType in project narayana by jbosstm.
the class TerminationParticipantClient method sendSoapFault.
/**
* Send a fault.
* @param endpoint the endpoint reference to notify
* @param map The addressing context.
* @param soapFault The SOAP fault.
* @param identifier The arjuna instance identifier.
* @throws com.arjuna.webservices.SoapFault For any errors.
* @throws java.io.IOException for any transport errors.
*/
public void sendSoapFault(final W3CEndpointReference endpoint, final MAP map, final SoapFault soapFault, final InstanceIdentifier identifier) throws SoapFault, IOException {
// AddressingHelper.installFrom(map, terminationCoordinator, identifier);
AddressingHelper.installNoneReplyTo(map);
final TerminationParticipantPortType port = getPort(endpoint, map, identifier, soapFaultAction);
SoapFault11 soapFault11 = (SoapFault11) soapFault;
Fault fault = soapFault11.toFault();
port.faultOperation(fault);
}
Aggregations