axis2 gennrate java code
2016-01-11 15:41
453 查看
1)download Binary distribution zip file from http://axis.apache.org/axis2/java/core/download.html
2)unpack,cd bin dir
3)
method1 from XML or WSDL :
wsdl2java.bat -uri d:\test.xml -o e:\Test
Method2 from url:
wsdl2java.bat -uri http://localhost/hello?wsdl -o e:\Test
#note: -o(output dirs)
4) method invoke,just like this:
PersonSvcStub pers = new PersonStub();
GetPersonResponse p = pers.getPerson(new PersonStub.GetPerson());
2)unpack,cd bin dir
3)
method1 from XML or WSDL :
wsdl2java.bat -uri d:\test.xml -o e:\Test
Method2 from url:
wsdl2java.bat -uri http://localhost/hello?wsdl -o e:\Test
#note: -o(output dirs)
4) method invoke,just like this:
PersonSvcStub pers = new PersonStub();
GetPersonResponse p = pers.getPerson(new PersonStub.GetPerson());
相关文章推荐
- springMvc 报错
- 【第七章】 对JDBC的支持 之 7.5 集成Spring JDBC及最佳实践 ——跟我学spring3
- Struts标签
- (转)Java中Properties类的操作
- java获取图片属性
- java获取任意指定日期后前后任一一天
- [javase学习笔记]-9.1 继承
- Spring加载完毕时,初始化参数
- Java正则表达式教程及示例
- 可选操作 java.lang.UnsupportedOperationException Collection
- 【第七章】 对JDBC的支持 之 7.4 Spring提供的其它帮助 ——跟我学spring3【私塾在线原创】
- 浅谈Java序列化
- 【Spring3】(1)初识Spring
- Spring粘合iBatis时多种配置SqlMapConfig.xml路径的方法
- 基于注解的Spring AOP的配置和使用
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined ;At least one of these environment variable is needed to run this program
- Elasticsearch基础教程
- 【第七章】 对JDBC的支持 之 7.3 关系数据库操作对象化 ——跟我学spring3
- Javaweb学习总结(三):Myeclipse常用的快捷键
- java过滤器和监听器详解