![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WebService
iteye_20658
这个作者很懒,什么都没留下…
展开
-
CXF利用Json格式传输对象
一直以来很少在Iteye上发帖,这次也是闲来无趣。把自己总结的利用JSON格式传递复杂对象的WebService的例子发上来,好让新手学习下。 准备工作 CXF http://cxf.apache.org/ Gson http://code.google.com/p/google-gson/ 众所周知,WebService传输复杂对象是比较麻烦的事情,因为要实现个可序列化接口。 ...原创 2011-10-31 15:53:25 · 807 阅读 · 1 评论 -
JAX-WS
创建一个项目 添加如下代码 package jx; import javax.jws.WebService; @WebService public class ItemService implements ItemServiceAPI{ public String sayHello() { return "HelloWorld"; } } packa...原创 2015-10-26 19:53:59 · 96 阅读 · 0 评论