摘要: 19Advanced Features 19.1InternationalizationgSOAP uses regular strings by default. Regular strings cannot be used to hold UCS characters outside of the character range [1,255]. gSOAP can handle wide-character content in two ways. First, applications can utilize wide-character strings (wchar_t*) ins. 阅读全文
posted @ 2013-06-11 16:47 海叔 阅读(2436) 评论(0) 推荐(0) 编辑
摘要: 18SOAP/XML Over UDP UDP is a simple, unreliable datagram protocol: UDP sockets are connectionless. UDP address formats are identical to those used by TCP. In particular UDP provides a port identifier in addition to the normal Internet address format. The UDP port space is separate from the TCP port. 阅读全文
posted @ 2013-06-11 16:44 海叔 阅读(981) 评论(0) 推荐(0) 编辑
摘要: 17XML Validation The gSOAP XML parser applies basic rules to validate content. Constraints are not automatically verified unless explicitly set using flags. This helps to avoid interoperability problems with toolkits that do not strictly enforce validation rules. In addition, we cannot always use s. 阅读全文
posted @ 2013-06-11 16:41 海叔 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 14MIME Attachments The gSOAP toolkit supports MIME attachments as per SOAP with Attachments (SwA) specification (http://www.w3.org/TR/SOAP-attachments). In the following discussion, MIME attachment data is assumed to be resident in memory for sending operations and MIME attachments received will be. 阅读全文
posted @ 2013-06-11 16:38 海叔 阅读(993) 评论(0) 推荐(0) 编辑
摘要: 12SOAP Fault Processing A predeclared standard SOAP Fault data structure is generated by the gSOAP soapcpp2 tool for exchanging exception messages. The built-in structSOAP_ENV__Fault data structure is defined as: structSOAP_ENV__Fault { _QName faultcode; // _QName is builtin char*faultstring; char*. 阅读全文
posted @ 2013-06-11 16:35 海叔 阅读(989) 评论(0) 推荐(0) 编辑
摘要: 11gSOAP Serialization and Deserialization RulesThis section describes the serialization and deserialization of C and C++ data types for SOAP 1.1 and 1.2 compliant encoding and decoding. 11.1SOAP RPC Encoding Versus Document/Literal and xsi:type InfoThe wsdl2h tool automatically generates a header f. 阅读全文
posted @ 2013-06-11 16:30 海叔 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 10The gSOAP Service Operation Specification FormatA service operation is specified as a C/C++ function prototype in a header file. The function is REQUIRED to return int, which is used to represent a SOAP error code, see Section10.2. Multiple service operations MAY be declared together in one heade. 阅读全文
posted @ 2013-06-11 16:26 海叔 阅读(1506) 评论(0) 推荐(0) 编辑
摘要: 8The wsdl2h WSDL and Schema Importer The wsdl2h tool is an advanced application that converts one or more WSDLs to C/C++. It can also be used without WSDLs to convert XML schemas (XSD files) to C/C++ to implement XML data bindings in C and C++. The creation of C and C++ applications from one of mor. 阅读全文
posted @ 2013-06-11 16:20 海叔 阅读(3261) 评论(0) 推荐(0) 编辑
摘要: 7Quick User Guide这个用户指南提供快速的方式来使用gSOAP。理解本节需要对SOAP协议有一个基本的理解,还需要熟悉C/C++。如果你对SOAP协议没有深入的了 解,你也可以使用gSOAP开发C/C++的基于SOAP的C/S程序,不过,前提是客户端和服务端一致并且只在小组内通信(即,你不需要担心其他 SOAP实现的互操作性)。本节开始说明gSOAP Web服务端和客户端的实现,进而说明与其他SOAP实现的互操作性,比如Apache Axis、SOAP::Lite和.NET。这需要了解SOAP和WSDL协议细节。 7.1 如何构建SOAP/XML 客户端一般情况下,SOAP客户. 阅读全文
posted @ 2013-06-11 16:11 海叔 阅读(1774) 评论(0) 推荐(0) 编辑
摘要: 2Notational ConventionsThe typographical conventions used by this document are:Sans serif or italics fontdenotes C and C++ source code, file names, and shell/batch commands.Bold fontdenotes C and C++ keywords.Courier fontdenotes HTTP header content, HTML, XML, XML Schema content and WSDL content.[O. 阅读全文
posted @ 2013-06-11 16:06 海叔 阅读(508) 评论(0) 推荐(0) 编辑