private Job forwardJobRequest(
final String hostURI,
final Job job) throws GenieException {
try {
final BaseGenieClient client = new BaseGenieClient(null);
final HttpRequest request = BaseGenieClient.buildRequest(Verb.POST, hostURI, null, job);
return (Job) client.executeRequest(request, null, Job.class);
} catch (final IOException ioe) {
throw new GenieServerException(ioe.getMessage(), ioe);
}
}