Skip to main content

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?

Hi @mda, thanks for your question.

 

 

Without direct experience with OpenText Content Server I'll defer to answers from experienced users. But I will give the following advice:

 

 

Take a look at the Quick Start Guide first, particularly the section(s) on authorization. Next, focus on making a successful call to api/v1/auth in FME Workbench using an HTTPCaller. Once you can 'prove' you can successfully retrieve an OTCS ticket this way, then it's probably a good time to try creating a new Token Service definition in FME. It might turn out not to be possible for this particularly API and authentication flavour, in which case you'll have to authenticate your workflow with HTTPCaller and include the resulting OTCS ticket in each and every API call (via a header in the HTTPCaller).

 

 

Hope this helps.

 

Nathan

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


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

Thank you for sharing your results @mda!

 

 

NathanAtSafe

Reply