Hi William,
I want to implement the Documentum Restful services in our environment which will expose the docbase functionalities on browser (based on the custom logic written in DFC). This will be more like a reusable asset where multiple applications can call the same logic as per the need.
Example Scenario: A refresh button is provided on the HTML page which once clicked will list all approved documents object id and object name on screen.
We are on Documentum 6.7 SP2 and would like to use the WAR file of EMC provided 7.0 Restful services.
From what I understand, REST works on resource URLs, ex. /cabinets will give the list of all cabinets. In a similar way, can I define a custom URL like /fetchApprovedDocuments, which when called will execute the DFC class in the backend having a simple select query and it's collection returned.
Once this result is returned in the form of XML/JSON, this can be then parsed and displayed on HTML page using JS and CSS.
Below are few questions for which I would need clarification.
1) Is my understanding correct and if REST is built for this purpose or am I heading in the completely wrong direction?
2) If this custom logic is built, should it be incorporated in the WAR file that EMC is providing or is there a different way?
3) If REST cannot solve my purpose, what can I use to achieve this?
4) I was able to deploy the core rest services WAR file into Tomcat but it complained in Weblogic server. This could be a different discussion.
For now, I would need help in understanding the above queries and if someone has already implemented a similar thing before and can share some steps so that I have a starting point?
Regards,
Subodh