Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

401 authentication error while calling OAC report using soap web service basic credential

Received Response
14
Views
2
Comments
learning123
learning123 Rank 3 - Community Apprentice

Hi Experts

I'm getting 401 authentication error while calling OAC report using soap web service basic credentials. Please help me how to pass basic credentials like username password and run report.

Tagged:

Answers

  • RVohra
    RVohra Rank 7 - Analytics & AI Coach

    Can you do a simple Browser Test:

    Navigate to: https://<oac-domain>/xmlpserver/services/v2/ReportService?wsdl
    If a login prompt appears → enter credentials.

    If login fails → credentials invalid for SOAP

    If login succeeds → Basic Auth is enabled and working

  • Hi @learning123 ,

    The above link is for Publisher, but as your talk about OAC report, I assume you mean "classic" analyses/dashboards and you are calling the WSDL located at /analytics-ws/saw.dll/wsdl/v12 ?

    If that's the case, you need to authenticate first, there is a method for it. The thing is that OAC does use a SSO with IDCS etc., and the webservice should preferably be called using a token instead of your credentials (username/password). Even more so if you have MFA enable: the webservice will not be able to ask you for your authenticator code or whatever form of MFA you have enabled. In that case you should use the token instead to tell the webservice you are authenticated.