CXF2.2.3生成JAVA client

来源:互联网 发布:好穿的家居拖鞋知乎 编辑:程序博客网 时间:2024/04/28 06:29

调用wsdl2java脚本来生产java Webservice客户端,

 

然后导入eclipse编译调试即可。例子:

wsdl2java HelloWorld.wsdl

wsdl2java -p com.iona.greeting Greeting.wsdl

wsdl2java -client HelloWorld.wsdl

wsdl2java http://localhost:4821/HelloWorld.asmx?WSDL


<script type="text/javascript"><!-- google_ad_client = "pub-9579970280839291";/* 728x90, 创建于 09-9-11 */google_ad_slot = "5225351943";google_ad_width = 728;google_ad_height = 90;// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>