Good Day Everyone,
We have created a sample GET WebAPI(ex:Hello World) in Appian. We hit the resultant URL and we get a proper message in a new tab of the same browser.
Note:
Please let us know your thoughts on the same.Thanks in advance.
Discussion posts and replies are publicly visible
*****RESOLVED*****ANALYSIS-On checking the SoapUI logs, we found the message 'requires authentication with realm weblogic'-SoapUI sends a POST request to the application server with basic authentication headers, however WebLogic requires any POST request with basic authentication to be validated. -Thus, it strips the authentication headers before sending it to Appian. Appian will then receive a request without authentication details and returns Error 401 Unauthorized.SOLUTION-We created a new user with the same credentials in both Appian and Weblogic.-We hit the same WebAPI again and it was successful.-This solved the issue for both our GET and POST APIs.REFERENCEThis post helped us:https://community.appian.com/support/w/kb/254/kb-1029-401-unauthorized-error-when-running-the-deployment-automation-manager-in-the-command-line?pi1605=100