Added a web service to retrieve documents for an entity.