Search code examples
androidibm-mobilefirstmobilefirst-adapters

IBM Mobilefirst platform - Access denied when trying to connect to HTTP Adapter


I have a native android app which is supposed to communicate with an HTTP Adapter. However when i try to connect to the adapter i get the following response - "Access Denied Reason: Failed due to missing ChallengeHandler for realm - {1}"

The error is pretty self-explanatory. But i have not enabled any authentication on the adapter. Hence I am not sure why i am getting this error. Anyways is there any way to disable the authentication? I am a beginner and i simply want a end-to-end communication between the app and the adapter.


Solution

  • From the comments:

    Attempt to add securityTest="wl_unprotected" to your procedure definition in the adapter XML file.