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
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
Disable the WS-I form functionality within the Management Console:
Once restarted, TEWS tasks will execute without producing IllegalArgumentException in the logs.
Per Broadcom documentation, TEWS specifically does not support the following Web Services properties: