Hi,
Again me with my web service microsoft (exchange office 365). Now i'm trying to use Talend ESB to connect the web service with data base. I just want to extract data of mail in exchange. I think that with tRESTClient we can connect to a web service but I don't know what really fill out the settings.
I know that i have to use OAuth2 Bearer for Authentification but after in Bearer token ???
I've already read the doc about tRESTClient and it's not really clear ....
Hi
Are you asking how where tRESTClient can get this Bearer token from ?
I guess it depends on how Microsoft OAuth2 server issues such tokens, for example, if it supports ClientCredentials then
have one tRESTClient get a token:
https://tools.ietf.org/html/rfc6749#section-4.4.2 and then use this token to configure another tRESTClient
HTH
Sergey