We've encountered an issue we're having a hard time figuring out. We have an external web application running its API on Tomcat, and we use PUT requests from Workflow to update data.
The Web Service is configured with "use the following credentials" and everything seems to work fine from the Workflow side.
However, on the receiving application side we are finding that every request from Workflow generates a 401 error followed immediately by a 200 with the same parameters in the Tomcat logs.
EDIT: I incorrectly assumed the application was running on IIS because it is a Windows server and the logs looked extremely similar, but it is actually on Tomcat.
It looks as if Workflow is actually sending two requests, the first failing, and the second succeeding, but Workflow is only tracking the second successful request in the instance details.
When I manually configure an Authorization header in the Request Header settings using the one Postman generates with the same credentials, the problem goes away completely.
Has anyone seen this before? Is there any setting we can change to correct the issue?
It almost seems like a quirk of the authentication used by Workflow since I cannot reproduce it when making PUT requests from other applications.
To provide some additional information, the issue does not seem to occur with GET requests. I don't know about any other methods because we are only using GET and PUT with that particular API.
We are currently running Workflow 10.2