TEWS6 task fails with "System.Web.Services.Protocols.SoapException: Not authorized for service" (Legacy_Onyx KB Id: 253220)

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

Description:

When running TEWS, the following error message is generated:

System.Web.Services.Protocols.SoapException: Not authorized for service. at System.Web.Services.Protocols.

This occurs when implementing TEWS on a newly built Test evironment.

The same TEWS6 web service, configured for .NET (version 1.1), runs fine on the existing development (Dev) environment.


Solution:

Observation
--------------
The userid specified for use in TEWS was the superuser, or admin, for the IME.

It was observed in the web.xml, located in IdentityMinder.ear/user_console_war/WEB-INF, that the properties "use_admin_id" was set to false and "require_sm_headers" was set to true.

The working Dev environment had the following settings:

use_admin_id = true
require_sm_headers = false

Resolution
------------
1. Configure the following values in IdentityMinder.ear/user_console_war/WEB-INF/web.xml:

use_admin_id = true
require_sm_headers = false

2. Restart the application server in order for the changes to take affect.