Hello,
I'm hoping someone can help point me in the right direction please...
I am trying to access the web api of an external company using a PI 7.1 SOAP receiver channel, I want to include an access token as a URL parameter, this all works fine when I update the channel manually and put the whole URL including token (around 700 length), but what I would have liked to do is update it using dynamic configuration, but obviously my URL is way over the 200 limit for dynamic configuration.
Does anyone have some ideas how to get around the dynamic configuration limit? Perhaps I should be using a different adapter rather than standard SOAP? If I used some other adapter could I perhaps extract my token from the payload and use it in the URL/Authorization Header? Or, could I concatenate several global variables to build the full string for the HTTP post?
The only other option I might have is to send the token in the POST body, I have the syntax for doing that but not for combining it with the XML request that I need to send too. I tried the token syntax: param=var&access_token=<access token> as suggested by the external partner and then just put & followed by my XML after it and that failed. Unfortunately I don't have any more information from the external partner and am struggling to get it.
Any hints would be much appreciated.
Thanks
Angie.