odt.setAsReference(true);
ResponseFormType responseForm = wps.createResponseForm(doc, null);
exeRequest.setResponseForm(responseForm);
// send the request
ExecuteProcessResponse response = wps.issueRequest(exeRequest);
// response should not be null and no exception should occur.
assertNotNull(response);
// we should get an exception
ExceptionReportType report = response.getExceptionResponse();
assertNotNull(report);
ExceptionType exception = (ExceptionType) report.getException().get(0);
String errorMessage = exception.getExceptionText().get(0).toString();
assertTrue(errorMessage.contains(processIdenLocal));
}