Hi Folks,
I'm wondering whether anyone has any thoughts on where I might be going wrong with the following:
Environment: BAW 24.0.1 or BAW 25.0
I've imported the https://<bawserver>:<port>/case/docs openapi contract as an external service within WebPD. This loads the service definitions as expected and calls out operations that aren't directly invocable via a Service Task.
However, when testing the login to get the CSRF token, i.e. createBPMCSRFToken (POST)), invoked as a Service Task, with data mapped correctly, I continually receive a 401 Unauthorised response.
If I retrieve a valid CSRF token externally (say from Postman or swagger) and pass it directly to a subsequent Service Task (i.e. skipping the invocation of createBPMCSRFToken within the service flow), they will execute with no issue.
I've tried calling the BPMRestRequest within a script task against the createBPMCSRFToken operation but also receive a 401. It feels like this should be easy, so I suspect I'm doing something stupid here, or am missing something important.
Any thoughts?
Cheers!
TP.
------------------------------
Tom Price
------------------------------