Executing TEWS call on CA Identity Suite Virtual Appliance will cause ContextPart Errors when WS-I Form is used
search cancel

Executing TEWS call on CA Identity Suite Virtual Appliance will cause ContextPart Errors when WS-I Form is used

book

Article ID: 15948

calendar_today

Updated On:

Products

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

Issue/Introduction



When performing a TEWS call using SOAPUI, a ContextPart error appears. For example, when trying to execute a forgotten password, this error would show up in the logs:

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

What is causing this error and how can this be resolved within the vAPP platform?

 

Environment

Release: 12.6.x, 14.x
Component: Identity Manager, Identity Portal

Cause

WS-I form was in use

Resolution

This error is caused when WS-I form is used. Disabling WS-I form functionality will allow your TEWS call to proceed within vAPP. Here are the instructions to disable WS-I form:

On the CA Identity Manager Management Console, navigate to Home › Environments › identityEnv › Advanced Settings › Web Services. Don't check the box for "Generate WSDL in WS-I form. Once this checkbox is unchecked, Restart Identity Manager and Identity Portal 

Tasks will be able to run without producing the error in the logs.