Axis Eclipse plug-in(代码生成工具和打包工具)下载:
http://archive.apache.org/dist/ws/axis2/tools/1_4/axis2-eclipse-codegen-wizard-1.4.zip
http://archive.apache.org/dist/ws/axis2/tools/1_4/axis2-eclipse-service-archiver-wizard-1.4.zip
将下载到的Axis 的两个plug-in解压缩到C:\Program Files\MyEclipse 6.5\eclipse\plugins目录下。
将Axis2_Codegen_Wizard改名为org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin
将Axis_Service_Archiver-wizard.改名为
org.apache.axis2.tool.Axis_Service_Archiver_1.3.0
在D:\Program Files\MyEclipse 6.5\eclipse\links目录下新建文件名为:axis-eclipse-plugin.link
内容为:
path=D:\Program Files\MyEclipse 6.5\eclipse\plugins
重新启动myeclipse,在file->new->other中可看到Axis2 Wizards,axis2插件安装成功。
在使用codegen插件来从WSDL文件生成代码时,到了最后一步出现"An error occurred while completing process -java.lang.reflect.InvocationTargetException"
错误,重试N次,结果依然,
到plugin.xml文件中,保存后重新启动Eclipse即可!
http://archive.apache.org/dist/ws/axis2/tools/1_4/axis2-eclipse-codegen-wizard-1.4.zip
http://archive.apache.org/dist/ws/axis2/tools/1_4/axis2-eclipse-service-archiver-wizard-1.4.zip
将下载到的Axis 的两个plug-in解压缩到C:\Program Files\MyEclipse 6.5\eclipse\plugins目录下。
将Axis2_Codegen_Wizard改名为org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin
将Axis_Service_Archiver-wizard.改名为
org.apache.axis2.tool.Axis_Service_Archiver_1.3.0
在D:\Program Files\MyEclipse 6.5\eclipse\links目录下新建文件名为:axis-eclipse-plugin.link
内容为:
path=D:\Program Files\MyEclipse 6.5\eclipse\plugins
重新启动myeclipse,在file->new->other中可看到Axis2 Wizards,axis2插件安装成功。
在使用codegen插件来从WSDL文件生成代码时,到了最后一步出现"An error occurred while completing process -java.lang.reflect.InvocationTargetException"
错误,重试N次,结果依然,
从AXIS2的LIB库中复制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"文件到Codegen的lib目录中,同时修改plugin.xml文件,添加
<library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
<export name="*"/>
</library>
<library name="lib/backport-util-concurrent-3.1.jar">
<export name="*"/>
</library>
到plugin.xml文件中,保存后重新启动Eclipse即可!