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?
Release: 12.6.x, 14.x
Component: Identity Manager, Identity Portal
WS-I form was in use
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.