Web Services--gSOAP 2.7.6 第一章(1.4)

150 篇文章 0 订阅
19 篇文章 0 订阅

下载地址:http://sourceforge.net/projects/gsoap2

官方网站:http://genivia.com/Products/gsoap/index.html

本文翻译只是出于学习的目的,中文部分仅代表个人观点,有错误还望指正,英文部分来自gsoap-win32-2.7\doc\soapdoc2.pdf。其中复制可能有误,可以看懂英文的还请到官网下载。如有版权争议,请联系QQ:643166601,本人会及处理。翻译新手,有错是必然的,求高人指点。欢迎同为新手的你共同学习。

 

 

 

1.4 Features

1.4 特征

The highlights of gSOAP are:

这个gSOAP的亮点是:

• Unique interoperability features: the gSOAP compiler generates SOAP marshalling routines

that (de)serialize native and user-defined C and C++ data structures.

唯一的协同工作能力特征:这个gSOAP编译器生成SOAP编组的程序,那是()序列化本地的和用户定义在CC++数据结构。

• gSOAP supports WSDL 1.1, SOAP 1.1, SOAP 1.2, SOAP RPC encoding style, and document/

literal style.

gSOAP支持WSDL 1.1, SOAP 1.1, SOAP 1.2, SOAP RPC编码样式,和文档/文字样式。

• gSOAP is one of the few SOAP toolkits that support the full range of SOAP 1.1 RPC encoding

features including sparse multi-dimensional arrays and polymorphic types. 

gSOAP是一个很少数的SOAP工具包,支持全部范围的SOAP 1.1 RPC编码特征包括稀疏的多维数组和多态类类型。

For example, a remote method with a base class parameter may accept derived class instances from a client.

例如,一个远程的方法用一个基本的类参数能接收来自客户端的派生类的实例。

Derived class instances keep their identity through dynamic binding.

派生类实例保持他们身份通过动态绑定。

• gSOAP supports MIME (SwA), DIME, and MTOM attachments.

gSOAP支持MIME (SwA), DIME, 和 MTOM 附件。

• gSOAP is the only toolkit that supports streaming DIME attachment transfers, which allows you to exchange binary data of practically unlimited size in the fastest possible way (streaming) while ensuring the usefulness of XML interoperability.

gSOAP是唯一的工具包,支持流式DIME附件传输,它允许你去交换二进制数据事实上不限制大小在最快的可能方式(流式)于此同时确保XML这有用的互用性。

• gSOAP supports SOAP-over-UDP.

gSOAP支持SOAP-over-UDP;

• gSOAP supports IPv4 and IPv6.

gSOAP支持 IPv4 和 IPv6.

• gSOAP supports Zlib deflate and gzip compression (for HTTP, TCP/IP, and XML file storage).

gSOAP支持 Zlib deflategzip 压缩(对于 HTTP, TCP/IP, 和 XML 文件存储)

• gSOAP supports SSL (HTTPS).

gSOAP支持 SSL (HTTPS).

• gSOAP supports HTTP/1.0, HTTP/1.1 keep-alive, chunking, basic authentication, and digest authentication using a plugin.

gSOAP支持HTTP/1.0, HTTP/1.1保活,分块,基本的身份验证,和摘要身份验证使用一个插件。

• gSOAP supports SOAP one-way messaging.

gSOAP 支持 SOAP 单向的报文发送。

• The schema-specific XML pull parser is fast and efficient and does not require intermediate data storage for demarshalling to save space and time.

这个架构是特定的XML解析器是快速的和高效的,不需要中间解组的数据存储的保存的空间和时间。

• The gSOAP soapcpp2 compiler includes a WSDL generator for convenient Web Service publishing.

这个gSOAP的 soapcpp2编译器包含一个生成方便的Web Service发布的WSDL

• gSOAP includes a WSDL parser wsld2h (WSDL converter to gSOAP header files) for automated client and server development.

gSOAP 包含一个 WSDL解析器wsld2h (WSDL转换到gSOAP头文件),自动化的客户端和服务端开发。

• Generates source code for stand-alone Web Services and client applications.

独立的源代码为了单机的Web Services和客户应用。

• Ideal for small devices such as Palm OS, Symbian, Pocket PC, because the memory footprint is small.

是理想的对于小型设备,像Palm OS, Symbian, Pocket PC,因为内存占用的空间小。

• Ideal for building web services that are compute-intensive and are therefore best written in C and C++.

是理想的对于构建web services,这是计算密集型,因此最好用CC++编写。

• Platform independent: Windows, Unix, Linux, Mac OS X, Pocket PC, Palm OS, Symbian, etc.

平台独立: Windows, Unix, Linux, Mac OS X, Pocket PC, Palm OS, Symbian, .

• Supports serializing of applications native C and C++ data structures, which allows you to save and load of XML serialized data structures to and from files.

支持序列化的应用的原生CC++数据结构,它允许你去保存和加载XML序列化的数据结构和来自文件。

• Selective input and output buffering is used to increase efficiency, but full message buffering to determine HTTP message length is not used. 

选择的输入和输出缓冲的被使用去提高效率,但是全部的消息缓冲确定HTTP消息的长的是不被使用的。

Instead, a three-phase serialization method is used to determine message length. 

相反,一个三截断的序列化方法的被使用去确定消息的长度。

As a result, large data sets such as base64-encoded images can be transmitted with or without DIME attachments by small-memory devices such as PDAs.

作为一个结果,大的数据集像base64编码的图像可以被传输带或不带DIME附件的小内存设备像PDA

 

• Supports C++ single class inheritance, dynamic binding, overloading, arbitrary pointer structures such as lists, trees, graphs, cyclic graphs, fixed-size arrays, (multi-dimensional) dynamic arrays, enumerations, built-in XSD Schema types including base64Binary encoding, and hexBinary encoding.

支持C++单类继承,动态绑定,重载,任意的指针结构像lists, trees, graphs, cyclic graphs, fixed-size arrays, (multi-dimensional) dynamic arrays, enumerations, 嵌入的XSD架构类型包括base64二进制编码,和十六进制编码。

• No need to rewrite existing C/C++ applications for Web service deployment. However, parts of an application that use unions, pointers to sequences of elements in memory, and void* need to be modified, but only if the data structures that adopt them are required to be serialized or deserialized as part of a remote method invocation.

不需要重写已经存在的C/C++应用程序的Web service 部署。然而,一个应用某一部分的程序,使用 unions, pointers to sequences的元素在内存中,和void*需要被修改,但是只有当数据结构,采用它们被请求去序列化和反序列化作为一个远程方法调用求时。

• Three-phase marshalling: 1) analysis of pointers, single-reference, multi-reference, and cyclic data structures, 2) HTTP message-length determination, and 3) serialization as per SOAP 1.1 encoding style or user-defined encoding styles.

三阶段编组:1)分析指针,单参考,多参考,和循环数据结构,2HTTP消息长度的确定,3)序列号么一个SOAP 1.1代码风格或这用户定义的代码风格。

• Two-phase demarshalling: 1) SOAP parsing and decoding, which involves the reconstruction of multi-reference and cyclic data structures from the payload, and 2) resolution of forward” pointers (i.e. resolution of the forward href attributes in SOAP).

两阶段解组:1SOAP解析和解码,它牵涉重建的多引用和循环数据结构来自有效载荷。2)解决的“向前的”指针(即,解决正向的href属性在SOAP)

• Full and customizable SOAP Fault processing (client receive and service send). 

完整的可制定的SOAP故障处理(客户端接收和服务端发送)

• Customizable SOAP Header processing (send and receive), which for example enables easy transaction processing for the service to keep state information.

可指定的SOAP头处理(发送和接收),例如使能够容易的服务的事务处理去保持状态信息。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值