WmPublic Pck: pub.client:restClient

I’m using restClient built server to call restful service. However I have to pass bearer token in header but i don’t know which fields to use pass the bear token.

In Postman I’m using as ,

In IS designer, can any one help me how i will do this?

Thanks,

Hi Zeeshan,
Please check this thread. thanks!

Hi @ArulChristhuRaj,
The steps are not cleared. I tried my best but no luck.
Thanks.

Map the token to auth/token. Set auth/type to Bearer.

1 Like

As per official document, This service is entirely internal to Integration Server and must not execute this service manually. So no point to discuss and discussion is over.

What document are you referring to? pub.client:restClient is not “internal to Integration Server” It is publicly available to be called.

Integration_Server_Built_In_Services_Reference document. Paste the line snippet here,

Interesting. I have the reference document, Version 10.5, October 2019, and it does not have that note. Though I see it in the online version. This service was just added in 10.5. It would be interesting to get clarification from SAG on this. Normally, “internal only” services are not documented in the reference guide. The note stating “you must not execute this service manually” is a bit ambiguous. Executing a service manually means something specific and different from using it in a FLOW service.

The main caveat about making manual changes to the generated connector service is that your customizations will be lost if you re-generate the connector service.

I tried to find info about managing auth via the RAD connector service generated, without editing the connector service directly, but could not readily find it. Someone else have a pointer?

1 Like