
WebService
iteye_1365
这个作者很懒,什么都没留下…
展开
-
WSDL binding Style and Use Model
IntroductionA WSDL document describes a Web service. A WSDL binding describes how the service is bound to a messaging protocol, particularly the SOAP messaging protocol. A WSDL SOAP binding can be...原创 2009-11-22 17:17:40 · 128 阅读 · 0 评论 -
Web Service Client Types (Proxy clients, Dispatch Clients)
当前最新的webservice 开发模型是 JAX-WS, 它support 两种webservice的client 类型。A. Proxy ClientsB.Dispatch Clients下面就对这两种client 类型做一个讲解。1.概念基于代理的客户端工作在webService 暴露的实现了SEI(Service Endpoint Interface)的本地代理...2009-11-23 22:46:52 · 197 阅读 · 0 评论 -
Web Service 异步 service call 概念及 实例
在旧的基于JAX-RPC的webservice编程model中,是不支持异步的service 调用的,在最新的Jax-ws webservice 编程model中,加入了对webservice的异步调用的支持。首先我来讲一下它的原理,大家不要以为在异步的调用下,从client到server 之间的soap message 流也是异步的,其实不是,Soap/Http 协议在同步跟异步的调用下是一...2009-11-24 22:44:09 · 295 阅读 · 0 评论 -
Web Service handle Binary Content
通过JAX-WS 2.1,你能够发送binary data 在基于soap 的webservice application 中。它有两种方式来反送binary data. 1.直接发送encoded的binary data 在soap请求的body中。 2.把binary data 作为soap body的一个附件来发送 第一种发送方式的优点是比较通用,它适用于任何传输协议(SOAP,/HTTP,...2009-11-25 21:47:47 · 148 阅读 · 0 评论 -
Soap Message Formator
在开发webservice 的程序中,我们经常要把soap request 跟soap response要打出来查看,但是如果我们取soap body中的内容打出的化会是很长的一个xml string,非常的不可读,以下class提供的一个方法把xml string format成可读的格式.例如<Root><child1>test1</child1>&...2009-11-25 21:59:06 · 180 阅读 · 0 评论 -
Developing a dispatch client that uses SAAJ
import javax.xml.namespace.QName;import javax.xml.soap.MessageFactory;import javax.xml.soap.SOAPBody;import javax.xml.soap.SOAPBodyElement;import javax.xml.soap.SOAPMessage;import javax.xml....2009-11-25 22:43:32 · 131 阅读 · 0 评论 -
Jax-WS service 异步 service call 概念及原理
在旧的基于JAX-RPC的webservice编程model中,是不支持异步的service 调用的,在最新的Jax-ws webservice 编程model中,加入了对webservice的异步调用的支持。首先我来讲一下它的原理,大家不要以为在异步的调用下,从client到server 之间的soap message 流也是异步的,其实不是,Soap/Http 协议在同步跟异步的调用下是一样的...2009-11-26 20:56:01 · 150 阅读 · 0 评论