I am currently converting from Java 1.4 to Java 1.6. When I try to recompile my code in Java 1.6 I get the following compilation error:
_getAgentInfoOperation0.setUse(com.ibm.ws.webservices.engine.enum.Use.LITERAL);
_getAgentInfoOperation0.setStyle(com.ibm.ws.webservices.engine.enum.Style.WRAPPED);
I understand that enum is a reserved word in Java 1.6. I was told that I could change the enum to enumtype and that should compile cleanly. I changed the code to enumtype:
_getAgentInfoOperation0.setUse(com.ibm.ws.webservices.engine.enumtype.Use.LITERAL);
_getAgentInfoOperation0.setStyle(com.ibm.ws.webservices.engine.enumtype.Style.WRAPPED);
When I change to enumtype I get the following two errors:
1) The method setUse(Use) in the type OperationDesc is not applicable for the arguments (Use).
2) The method setStyle(Style) in the type OperationDesc is not applicable for the arguments (Style).
Does anyone know what I need to do to get a clean compile?
Thanks,