addJobInfoToResponse( jobResource, creationResponse );
jobResource.enqueue();//add to queue
}
else
{
throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Document type is not supported.");
}
}
catch ( Exception e )
{
creationResponse.setSuccessStatusCode( "server-error-internal-error" );
}
}
else
{
throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Printer is Not Accepting Jobs.");
}
return responseDocument;
}