Symptoms
Using wsimport in combination with ImportExportService.asmx?wsdl yields an error regarding a reserved keyword:
wsimport-importexport
[exec] parsing WSDL...
[exec] [ERROR] Invalid operation "Import", it'sjava reserved word, can't generate java method. Use customization to change theoperation name.
Cause
Java reserves the keyword Import
Resolution
Rename Import to DoImport (or similar) during class generation via XSLT, see the attached files for this workaround
The wsimport call:
wsimport.exe -p com.automic.rm.api.generated.ie -b .\ImportExportService.xml .\wsdl\ImportExportService.wsdl -extension
The sample files attached include both the xml (which includes the transformation to "DoImport") and the WSDL definitions for ARA V4 as well as ARA V3.5