Identity Manager Web Service for TEWS - compile error (Legacy_Onyx KB Id: 249319)

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


Using Axis to obtain web service proxy jar by following the instructions under the /sample directory.
The wsdl files were generated.

The following compilation error is being observed:

: illegal start of type
[javac] try {
[javac] ^
[javac] D:\Program Files\CA\CA Identity Manager\samples\WebService\Axis\api\
: &ltidentifier> expected
[javac] approveDeleteOrganizationQueryResultPart.value = (te
t) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.Q
Name("http://tews6/xsd/ApproveDeleteOrganizationQueryResult", "ApproveDeleteOrga
nizationQueryResult")), tews6.xsd.ApproveDeleteOrganizationQueryResult.ApproveDe


issue resolved.The compilation errors were a result of using an incorrect / incompatible version of Axis.

The correct version of Axis to use for the implemented version of Identity Manager is noted in the Product Compatibility Matrix.

In this particular case the customer needed to use "Axis 1.2 beta patched"