final AddressingContext responseContext = createContext() ;
final AttributedURIType messageId = addressingContext.getMessageID() ;
final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ;
if (messageId != null)
{
responseContext.addRelatesTo(new RelationshipType(messageId.getValue())) ;
}
final String message = WSTLogger.log_mesg.getString("com.arjuna.wst.messaging.engines.CoordinatorEngine.sendInvalidState_1") ;
final SoapFault soapFault = new SoapFault10(SoapFaultType.FAULT_SENDER, CoordinationConstants.WSCOOR_ERROR_CODE_INVALID_STATE_QNAME, message) ;
ParticipantClient.getClient().sendSoapFault(responseContext, soapFault, instanceIdentifier) ;