Web Services--gSOAP 2.7.6 第七章(7.2)

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

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

 

7.2 How to Use the gSOAP Stub and Skeleton Compiler to Build SOAP Web Services

7.2 如何使用gSOAP StubSkeleton编译器去构建SOAP Web Services

The gSOAP stub and skeleton compiler generates skeleton routines in C++ source form for each of the remote methods specified as function prototypes in the header file processed by the gSOAP compiler. 

这个gSOAP stubskeleton编译器生成skeleton程序,C++源代码来自每个远程方法函数原型指定的,在头文件中被加工出来。

The skeleton routines can be readily used to implement the remote methods in a new SOAP Web service. 

这个skeleton程序可以轻而易举使用在一个新的OAP Web service中执行远程方法。

The compound data types used by the input and output parameters of SOAP remote methods must be declared in the header file, such as structs, classes, arrays, and pointerbased data structures (graphs) that are used as the data types of the parameters of a remote method.

SOAP远程方法必须在头文件中声明使用在输入和输出参数中的这些复合数据类型,像结构体,类,数组,和基于指针的数据结构()被用作远程方法的参数数据类型。

The gSOAP compiler automatically generates serializers and deserializers for the data types to enable the generated skeleton routines to encode and decode the contents of the parameters of the remote methods. 

这个gSOAP编译器自动第生成序列化和反序列化的数据类型使能够生成skeleton程序编码和解码远程方法的参数内容。

The gSOAP compiler also generates a remote method request dispatcher routine that will serve requests by calling the appropriate skeleton when the SOAP service application is installed as a CGI application on a Web server.

这个gSOAP编译器也生成一个远程方法请求调度程序,当这个SOAP服务应用作为一个CGI应用安装在一个Web服务器上,它将服务请求通过调用适当的skeleton

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值