Rest web service error in OD8.1.12

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • chouh
    Member
    • Dec 2019
    • 3

    Rest web service error in OD8.1.12

    We are running into issues with invoking rest web services using OD8.1.12 while using pre-emptive organization. The system returns a 401 unauthorized or login info not present error even when the credentials are provided. The AEP version is 8.1.2.
    The same setup/project works when using OD 7.2.3.
  • wilsonyu
    Hot Shot
    .
    • Sep 2011
    • 24

    #2
    It seems like an authentication issue. Which method of authentication is it using?

    Comment

    • chouh
      Member
      • Dec 2019
      • 3

      #3
      Hi,

      It is using Basic/digest authentication. There was a known issue with axis2 1.8 where pre-emptive authentication was not supported. Could this be related to that? Are you able to call rest web services with pre-emptive authentication enabled in your test environment with the latest OD?

      Comment

      • wilsonyu
        Hot Shot
        .
        • Sep 2011
        • 24

        #4
        It looks like this is an issue remained unresolved for Axis2 1.8. It does not even have a workaround. I am afraid you would have to write your own java code to or use other APIs to do this REST operation with this type of authentication.

        [AXIS2-6055] Basic Auth credentials are missing in request - ASF JIRA

        Comment

        Loading