Using the CA Gen 8.6 Web Service Wizard to try an build a selected operation results in this error:
+++
Microsoft (R) Program Maintenance Utility Version 14.29.30038.1
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Java\jdk1.8.0_291\\bin\javac" -encoding ISO-8859-15 -classpath "C:\Users\Administrator\Documents\CA\Gen 8.6\Models\sample.ief\\proxy\java\deploy\P900\P900.jar";;"C:\Program Files (x86)\CA\Gen86\Gen\classes\jprt86.xml.jar";"C:\Program Files (x86)\CA\Gen86\Gen\classes\csu86.jar";"C:\Program Files (x86)\CA\Gen86\Gen\classes\jprt.xml.jar";"C:\Program Files (x86)\CA\Gen86\Gen\classes\csu.jar" -d . sdd.java
sdd.java:54: error: cannot find symbol
responseXML = op.xmlExecute(t.toString());
^
symbol: method xmlExecute(String)
location: variable op of type ServerDetailDepartment
1 error
NMAKE : fatal error U1077: '"C:\Program Files\Java\jdk1.8.0_291\\bin\javac.EXE"' : return code '0x1'
Stop.
--
-- Building complete
+++
Release : 8.6
Component : CA Gen PLUGINS
The Web Service Wizard (WSW) requires the XML Java Proxy to be generated per this techdocs page:
CA Gen 8.6 > Developing > Designing > Using the Web Service Wizard > Create a Web Service from a CA Gen XML Java Proxy
The error "cannot find symbol" for method xmlExecute(String) is due to not selecting the Additional Programming Interface "XML" when generating the Java Proxy from the "Proxy Code Generation" panel.
Per CA Gen 8.6 > Developing > Designing > Using the Web Service Wizard > Create a Web Service from a CA Gen XML Java Proxy, without selecting the XML option, operations are not available for selection in the WSW UI, so usually it should not be possible to get to the step to build the web service i.e. all Available Operations are marked in red and "<NO OPERATIONS ARE SELECTABLE>" is shown because no XML schema definition file (*.xsd) was detected under the proxy\java directory.
However the scenario for this error can occur if XML was selected the first time the Java Proxy was generated, but then a subsequent generation did not have the XML option enabled. The .xsd files created from the first generation remain so the WSW UI allows the operation to be selected. However, the generated PStep.java & compiled PStep.class file inside the Proxy .jar file does not use/include the xmlExecute method, like it would if the XML option had been selected, and that causes the error.