Error "Not Authorized for service" on running a TEWS Public Task
search cancel

Error "Not Authorized for service" on running a TEWS Public Task

book

Article ID: 51237

calendar_today

Updated On:

Products

CA Directory CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

When running the SelfRegistration XML sample, I am getting a response code of 500 and the resulting SOAP response comes back with a "Not authorized for service" fault code.

Environment

Release:
Component: IDMGR

Resolution

Since the self registration task is a public task, check that the URL for the TEWS post contains the public alias for your Identity Manager environment instead of the private alias.
So the SOAP request should go to: http://<MachineName>:9080/idm/TEWS6/publicalias/ and NOT: http://<MachineName>:9080/idm/TEWS6/privatealias/.

If you are using our sample settings.properties file in the /tools/samples/webservices/XML folder, the environment name should be set to the private alias.