public void invokingServiceFailed(WorkflowTrackingContext wtcontext, InvocationContext context, Throwable trace,
String... descriptionAndAnnotation) {
if (context == null)
throw new RuntimeException("Context passed was NULL.");
final InvokingServiceFailedDocument activity = InvokingServiceFailedDocument.Factory.newInstance();
final AcknowledgeFailureType activityType = activity.addNewInvokingServiceFailed();
// set the remote entity as receiver
if (context.getRemoteEntity() != null) {
activityType.addNewReceiver().set(context.getRemoteEntity().toBaseIDType());
} else {