I am try to make a web connection between FME and OptenText Content Server. But still don't succeed. The thing is, I need to get data from the content server using REST API then manuplate it in FME. This link is to the Content server API references ( https://developer.opentext.com/webaccess/#url=%2Fawd%2Fresources%2Fapis%2Fcs-rest-api-for-cs-16&tab=501 ). Did anyone of you guys make this connection or can give me hints on what should I do?
Web connection between FME and opentext content server
Best answer by mda
Hi @nathanatsafe,
Indeed it wasn't possible for this Particularly API and authentication to create a new Token Service definition in FME. However, I managed to retrieve data from the opentext content server by doing the following:
1- Using HTTPCaller using POST method to get an OTCS Ticket ( of course your authentication information must be included as parameters in the query strings parameters). This first call will result in getting the ticket in the response body.
2- Using HTTPCaller again using GET method to retrieve the node data. The resulted ticket from the previouse call must be included in the headers.
Tip: if you need to retrieve data from many nodes then you should make a list with all the node_ids and then include this value to the request URL and HTTPCaller will use the same ticket to retrieve all the nodes information. By the way: everytime you run the workspace you get a new ticket which means it can be automated.
I hope this will help other people who might face this problem :)
Regards,,,,
Muhammed
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.