随笔分类 -  WebService

摘要:http://stackoverflow.com/questions/22055251/sending-data-with-angularjs-http-delete-requestI have a resource 'roles' which has a many to many relation... 阅读全文
posted @ 2015-11-26 10:01 IamThat 阅读(345) 评论(0) 推荐(0)
摘要:解决办法:http://stackoverflow.com/questions/4037125/namespace-err-an-attempt-is-made-to-create-or-change-an-object-in-a-way-which-ihttp://docs.spring.io/s... 阅读全文
posted @ 2015-08-01 13:06 IamThat 阅读(928) 评论(0) 推荐(0)
摘要:来源:http://jackyrong.iteye.com/blog/11283641 先来看@queryparamPath("/users")publicclassUserService{@GET@Path("/query")publicResponsegetUsers(@QueryParam("... 阅读全文
posted @ 2015-07-12 15:22 IamThat 阅读(424) 评论(0) 推荐(0)
摘要:在实现过程中,遇到两个问题:1: schema 写错: 错误:http://myschool.com/schemas/st正确:http://myschool.com/st/schemas ---- schemas必须结尾才是schema 这个决定了Namspace2: Response 对 se... 阅读全文
posted @ 2015-07-10 22:06 IamThat 阅读(1331) 评论(0) 推荐(0)
摘要:异常:NAMESPACE_ERR: An attempt is made to create or change an object in a way whi---- 这是我自己写客户端调用webservice 控制台显示的部分异常代码。或者直接通过soapUI 调用:异常信息如下No adapte... 阅读全文
posted @ 2015-07-05 16:04 IamThat 阅读(1793) 评论(0) 推荐(0)
摘要:我试了多个版本的spring 发现 出现error :Unable to locate Spring NamespaceHandler for XML schema namespace并非都是spring.schemas 和 spring.handlers 两个文件覆盖缺少等造成的问题。出现erro... 阅读全文
posted @ 2015-06-28 16:59 IamThat 阅读(442) 评论(0) 推荐(0)
摘要:http://www.blogjava.net/sxyx2008/archive/2010/06/07/322945.html 近期在做多个数据库应用交互系统,其中数据交互采用了webservice的方式,说到webservice项目中不得不用到xfire这个框架,有了它我们几乎不用写代码,就可以很快速的创建自己的webservice 但在使用的过程中遇到一些小细... 阅读全文
posted @ 2013-05-07 17:17 IamThat 阅读(470) 评论(0) 推荐(0)
摘要:1.为Eclipse安装XFire插件 从Help->Install New SoftWare进入,地址输入http://xfire.codehaus.org/Eclipse+Plugin 2.新建Java Project名曰xfire 3.右键项目名New->other Package的名称要小写。output directory和package的含义看生成的项目结构便知: ... 阅读全文
posted @ 2013-05-04 12:13 IamThat 阅读(544) 评论(0) 推荐(0)
摘要:一个 WSDL 文档的主要结构是类似这样的:<definitions><types> definition of types........</types><message> definition of a message....</message><portType> definition of a port.......</portType><binding> definition of a binding....</binding></definitions>WSDL 阅读全文
posted @ 2013-04-12 14:26 IamThat 阅读(252) 评论(0) 推荐(0)
摘要:SOAP 消息的基本结构<?xml version="1.0"?><soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><soap:Header> ... ...</soap:Header><soap:Body> ... ... <soap:Fault> ... .. 阅读全文
posted @ 2013-04-12 10:14 IamThat 阅读(251) 评论(0) 推荐(0)