Research and implementation on JavaScript-based invocating Web Services in Browser-Side
Graduate University,Chinese Academy of Sciences
Institute of Software,Chinese Academy of Sciences
Received date: 1900-01-01
Revised date: 1900-01-01
Online published: 2007-11-15
本文根据WebOffice系统中浏览器-服务器端通信需求,提出了一种调用web服务的浏览器端代理方法。比较了此方法和传统的服务器端方法的优点和缺点,分析了此方法的适用场合。最后给出了实现的要点:WSDL的加载和解析、对象类型的序列化和反序列化、SOAP协议的封包和绑定。
关键词: 浏览器; SOAP; JavaScript; Web Services; 序列化; 反序列化
贺理 , 吴健 , 贾彦民 . 基于JavaScript的浏览器端调用Web服务研究与实现[J]. 中国科学院大学学报, 2007 , 24(6) : 801 -805 . DOI: 10.7523/j.issn.2095-6134.2007.6.012
For the requirement of communication between Browser and Server in WebOffice, A browser-side invocating Web Services method is proposed .Comparing with traditional server-side method, the advantages and weaknesses of this method are analyzed. Finally, JavaScript implementation is given: WSDL Loading and analyzing, SOAP packaging and binding, object serialization and deserialization
Key words: Browser; SOAP; JavaScript; Web Services; serialization; deserialization
/
| 〈 |
|
〉 |