Error '(401)Unauthorized' when trying to connect from Jasper Studio in SaaS Systems

Document ID : KB000033230
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Problem:

Error  "(401)Unauthorized" when trying to connect from Jasper Studio in a SaaS System

Steps to Reproduce:

  1. Login to Jaspersoft Studio
  2. Navigate to Repository under servers
  3. Create or edit a Jasper Reports Server Access Configuration
  4. Fill in the organization name, URL, Username & Password 
  5. Click On Test Connection

Expected Result: The Connection should be successful provided all the information are correct

Actual Result: Error  "(401)Unauthorized" 

Cause:

SaaS Systems are configured to allow only SOAP Protocol.

Resolution:

Change the Jaspersoft Reports Server profile to use SOAP protocol.

  1. Login to Jaspersoft Studio
  2. Edit the Jasper Reports Server Access Configuration
  3. Click on Advance Setting (+) Symbol to expand the section
  4. Check "Use SOAP PROTOCOL ONLY"

Suman.jpg