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

Description:

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\
src\wsdl2java\tews6\wsdl\ApproveDeleteOrganizationQuerySoapBindingStub.java:8643
: &ltidentifier> expected
[javac] approveDeleteOrganizationQueryResultPart.value = (te
ws6.xsd.ApproveDeleteOrganizationQueryResult.ApproveDeleteOrganizationQueryResul
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
leteOrganizationQueryResult.class);
[javac]


Solution:

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"