随笔分类 -  webservice

cxf
Java Web services: WS-Security with Metro--referenc
摘要:As you know from "Introducing Metro," the reference implementations of the JAXB 2.x data-binding and JAX-WS 2.x Web services standards are at the core... 阅读全文
posted @ 2015-03-16 22:30 一天不进步,就是退步 阅读(890) 评论(0) 推荐(0) 编辑
SOAP 及其安全控制--转载
摘要:原文地址:http://my.oschina.net/huangyong/blog/287791目录[-]1. 基于用户令牌的身份认证2. 基于数字签名的身份认证3. SOAP 消息的加密与解密4. 总结通过上一篇文章,相信您已经学会了如何使用 CXF 开发基于 SOAP 的 WS 了。或许您目前对... 阅读全文
posted @ 2015-03-16 22:00 一天不进步,就是退步 阅读(857) 评论(0) 推荐(0) 编辑
Apache CXF 3.0: CDI 1.1 Support as Alternative to Spring--reference
摘要:WithApache CXF 3.0just being released a couple of weeks ago, the project makes yet another important step to fulfill theJAX-RS 2.0specification requir... 阅读全文
posted @ 2014-06-03 10:05 一天不进步,就是退步 阅读(791) 评论(0) 推荐(0) 编辑
主要几种通信协议的性能比较(转载)
摘要:原文地址:http://hi.baidu.com/qianjian21/item/2f712dd4c1e81cbb33db90b1总体性能比较:Socket(BIO/NIO)>RMI>HTTPInvoker>=Hessian>REST>>Burlap>EJB>>Web Service1.socket如果协议设计的比较好,Socket性能毫无疑问是最高,同时灵活性和复杂度也最高,如果采用高效的网络框架如:Mina、Netty等可以降低开发复杂度,一般在对性能有非常苛刻的条件下使用。 2.RMIRMI的性能相对略低,但是与Socket还在同1个 阅读全文
posted @ 2013-04-02 14:15 一天不进步,就是退步 阅读(675) 评论(0) 推荐(0) 编辑
cxf 实例解读
摘要:1.sample 实例之一---java_first_pojo服务端发布服务的方法:1 HelloWorldImpl helloworldImpl = new HelloWorldImpl(); //cxf发布服务的工厂bean2 ServerFactoryBean svrFactory = new ServerFactoryBean(); //设置服务类3 svrFactory.setServiceClass(HelloWorld.class); //设置服务地址4 svrFactory.setA... 阅读全文
posted @ 2013-03-17 00:54 一天不进步,就是退步 阅读(13191) 评论(3) 推荐(0) 编辑
c# webservice生成客户端及使用时碰到decimal类型时的特殊处理
摘要:1.生成:VS2005命令:开始》运行》CMD命令示例:C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl /language:语言(默认c#) /n:nameSpace(命名空间) /out:输出路径 wsdl路径2. 使用方法,namespace.xxxService xxxService=new namespace.xxxService();//根据生成客户端代码设定的命名空间找到相应的类,并实例化。xxxService.metho(输入参数);3.碰到decimal类型,且在wsdl文件中<xs:elem 阅读全文
posted @ 2013-03-12 16:50 一天不进步,就是退步 阅读(709) 评论(0) 推荐(0) 编辑