AEWS URL gives error 403
search cancel

AEWS URL gives error 403

book

Article ID: 251559

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Any AEWS URLs give an error 403. It might manifest as error 404 also.

https://AEWS-hostname.example.com:9443/AEWS/event/

https://AEWS-hostname.example.com:9443/AEWS/jil/job?name=abc12345

Environment

Workload Automation Autosys

 

Cause

The user did not have the EEM application group WorkloadAutomationAEWebService assigned

Resolution

The AEWS uses Basic authentication, and as such a valid username and password must be provided that has rights to execute the REST API call.

By default, users are not granted permission to web services. This must be done after the fact to grant this permission. Do the following to validate the user has been given the appropriate permissions.

  1. Log in to EEM with the eaimadmin credemtials with application dropdown value to WorkloadAutomationAE
  2. Go to Manage Identities tab, enter the user ID (of the user attempting the AEWS call) in the values field and hit GO
  3. Click on the user name to bring up the properties on the right-hand side
  4. Under application group membership make sure the user has the WorkloadAutomationAEWebService on the right-hand side.
    (If there is nothing seen there, click the search button then highlight WorkloadAutomationAEWebService and click the right arrow)
  5. Make sure to save the user if any changes are made.
    Example:


  6. then use a test that the user has permission with the following URL in a browser

 

Example tests:   https://<AutoSys_Web_services_Machine>:9443/AEWS/machine  --> this should return a list of machines in XML format