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

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

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?



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 uncheck, tasks will be able to run without producing the error in the logs.