欢迎访问中国科学院大学学报,今天是

中国科学院大学学报 ›› 2007, Vol. 24 ›› Issue (6): 801-805.DOI: 10.7523/j.issn.2095-6134.2007.6.012

• 论文 • 上一篇    下一篇

基于JavaScript的浏览器端调用Web服务研究与实现

贺 理; 吴 健; 贾彦民   

  1. 中国科学院研究生院

    中国科学院软件研究所

  • 收稿日期:1900-01-01 修回日期:1900-01-01 发布日期:2007-11-15

Research and implementation on JavaScript-based invocating Web Services in Browser-Side

HE Li, WU Jian, JIA Yan-Min   

  1. Graduate University,Chinese Academy of Sciences

    Institute of Software,Chinese Academy of Sciences

  • Received:1900-01-01 Revised:1900-01-01 Published:2007-11-15

摘要:

本文根据WebOffice系统中浏览器-服务器端通信需求,提出了一种调用web服务的浏览器端代理方法。比较了此方法和传统的服务器端方法的优点和缺点,分析了此方法的适用场合。最后给出了实现的要点:WSDL的加载和解析、对象类型的序列化和反序列化、SOAP协议的封包和绑定。

关键词: 浏览器, SOAP, JavaScript, Web Services, 序列化, 反序列化

Abstract:

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

中图分类号: