ContextPart Errors During TEWS Calls on Identity Suite Virtual Appliance
search cancel

ContextPart Errors During TEWS Calls on Identity Suite Virtual Appliance

book

Article ID: 15948

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

Task Execution Web Service (TEWS) calls performed via SOAPUI result in a ContextPart error. This typically occurs during the execution of public tasks, such as Forgotten Password. The application server logs will contain the following exception:

Caused by: java.lang.IllegalArgumentException: Part {http://tews6/wsdl}ForgottenPasswordSearchPublicTaskContextPart should be of type tews6.wsdl.ForgottenPasswordSearchPublicTaskContext, not tews6.wsdl.PublicTaskContext

 

Environment

  • Product: Identity Manager, Identity Portal, Identity Suite
  • Deployment: Virtual Appliance (vApp)
  • Release: 14.x
  • Tools: SOAPUI, TEWS API

Cause

This error is triggered when the WS-I (Web Services Interoperability) WSDL format is enabled in the Management Console. TEWS does not support the WS-I WSDL format for these specific context parts, leading to a type mismatch during service initialization

Resolution

Disable the WS-I form functionality within the Management Console:

  1. Log in to the Identity Manager Management Console.
  2. Navigate to Home > Environments > [environment_name] (e.g., identityEnv).
  3. Go to Advanced Settings > Web Services.
  4. Locate the setting: Generate WSDL in WS-I form.
  5. Uncheck the box to disable this feature [1].
  6. Click Save.
  7. Restart the following services to apply changes:
    • Identity Manager
    • Identity Portal

Once restarted, TEWS tasks will execute without producing IllegalArgumentException in the logs.

Additional Information

Per Broadcom documentation, TEWS specifically does not support the following Web Services properties:

  • WS-I WSDL Format
  • WSS Username Token