================================================================================
Thanks for using gSOAP!
The gSOAP toolkit provides a cross-platform software development toolkit for C
and C++ server and client Web service applications, and simplifies the overall
use of XML in any type of application. The toolkit supports SOAP 1.1/1.2 RPC
encoding and document/literal styles, WSDL 1.1, MTOM/MIME/DIME attachments
(streaming), SOAP-over-UDP, request-response and one-way messaging. The toolkit
also supports WS-Addressing and WS-Security, with several other WS-* available
or under development. See the official open-source gSOAP website
http://gsoap2.sourceforge.net for project status and latest news.
* The gSOAP 'soapcpp2' compiler and code generator and 'stdsoap2' runtime
engine are stable since version release 2.1.3.
* The gSOAP 'wsdl2h' WSDL/schema parser and code generator is stable since
wsdl2h version release 1.1.0. The 'wsdl2h' tool fully supports WSDL 1.1,
XML schemas, WS-Policy, and other WS-* protocols (details in the fact sheet).
The software is provided "as is", without any warranty. However, gSOAP
has received a lot of support from users and has been extensively tested
in the real world. We also continue to improve gSOAP and add new features.
See NOTES.txt for distributed notes and an overview of the package contents.
See INSTALL.txt for installation instructions.
See LICENSE.txt for software licensing.
================================================================================
WHAT'S COOL?
================================================================================
The gSOAP 'wsdl2h' tool is a gSOAP application itself, which demonstrates the
capabilities of the generic XML handling by the toolkit to parse WSDL, XML
schemas, and SOAP/XML.
The gSOAP toolkit supports streaming technologies to expedite SOAP/XML and
MTOM/MIME attachment transfers of potentially unlimited data lengths.
The gSOAP toolkit is the only toolkit that supports the serialization of native
C and C++ data types directly in XML. You can use it to export and import your
application data in XML without having to write wrapper routines.
The gSOAP toolkit ensures as small memory footprint. XML is a processed as a
transient format and not buffered. Many optimizations have been applied to
reduce resource requirements and to expedite XML parsing.
The gSOAP toolkit provides stand-alone HTTP(S) web server functionality as well
as Apache mod and IIS hooks (located in gsoap/mod_gsoap). Also CGI and FastCGI
are supported. A web server example demonstrating the stand-alone functionality
is included in the package.
================================================================================
PACKAGE
================================================================================
This distribution package contains platform-independent source code. Pre-built
'soapcpp2' and 'wsdl2h' binaries are included for the following platforms:
* Win32 i386 compatible
* Linux i386 compatible
* MAC OS X universal
The binaries are located in 'gsoap/bin'.
Important: these 'wsdl2h' binaries use the default configuration without SSL
support (no HTTPS site access).
To configure and build the toolkit binaries and libraries, please see the
installation instructions in the 'INSTALLATION' section below.
================================================================================
GETTING STARTED
================================================================================
Follow the installation instructions in INSTALL.txt first.
The gSOAP 'wsdl2h' tool converts WSDLs into a gSOAP header file for processing
with the gSOAP stub/skeleton generator 'soapcpp2' to generate XML
serialization, stubs, and skeletons code to build Web services applications.
Use 'wsdl2h' followed by 'soapcpp2' to translate an entire set of WSDL and XML
schemas into representative C or C++ data structures and associated XML
parsers. You can also use the gSOAP 'soapcpp2' tool directly on existing C/C++
data structure declarations to create XML serialization routines for these
types to simplify the storage of data in XML.
Example translation of WSDL to code in two steps:
$ wsdl2h -s -o calc.h http://www.cs.fsu.edu/~engelen/calc.wsdl
$ soapcpp2 calc.h
The 'calc.h' header file contains the services and XML schema types represented
in C/C++, together with other useful information copied from the WSDL related
to the service. Run Doxygen on it to generate a nice set of pages.
Do not include the wsdl2h-generated 'calc.h' header file directly into your
code (the declarations are replicated in the generated code). The header file
is processed by the gSOAP stub compiler 'soapcpp2' to generate the following
files for your project:
soapClient.cpp client-side stub routines for service invocation
soapServer.cpp server-side skeleton routines for server development
soapC.cpp C/C++ parameter marshalling code
calc.nsmap An XML-to-C/C++ namespare mapping table
To compile a client, all you need to do is to compile and link 'soapC.cpp',
'soapClient.cpp', and 'stdsoap2.cpp' (or the installed libgsoap++, see
INSTALLATION below) with your code. In your source code, add:
#include "soapH.h"
#include "calc.nsmap"
This imports all soapcpp-generated definitions and the namespace mapping table.
To develop a C++ client application based on proxies, use 'soapcpp2' option -i:
$ wsdl2h -s -o calc.h http://www.cs.fsu.edu/~engelen/calc.wsdl
$ soapcpp2 -i calc.h
This generates 'soapcalcProxy.h' and 'soapcalcProxy.cpp' with a calcProxy
class you can use to invoke the service. For example:
#include "soapcalcProxy.h"
#include "calc.nsmap"
main()
{ calcProxy service;
double result;
if (service.add(1.0, 2.0, result) == SOAP_OK)
std::cout << "The sum of 1.0 and 2.0 is " << result << std::endl;
else
service.soap_stream_fault(std::cerr);
}
Compile and link with 'soapC.cpp' and 'stdsoap2.cpp' (or -lgsoap++).
To develop a C client, use 'wsdl2h' option -c to generate pure C code.
There are many options that you can use depending on the need to develop C
applications, C++ with or without STL, or C++ proxy and server objects. In
addition, the XML schema type mapping is defined by 'typemap.dat', located in
the project root and 'WS' folders. The 'typemap.dat' file is used to customize
the 'wsdl2h' output. It is important to use this file for larger projects that
depend in WS-* protocols, such as WS-Addressing and WS-Security.
More information about the 'wsdl2h' and 'soapcpp2' tools and their options can
be found in the gSOAP documentation and the Quick How-To page on the gSOAP Web
site, see: http://gsoap2.sourceforge.net
See also the 'gsoap/wsdl/README.txt' for more details on the WSDL parser and
installation. The 'gsoap/bin' folder includes pre-built 'soapcpp2' and
'wsdlh2' executables for various platforms.
================================================================================
BUILD NOTES
================================================================================
QNX
On QNX the bison.simple file is located in $QNX_HOST/usr/share/bison.simple
Update your .profile to include:
export BISON_SIMPLE=$QNX_HOST/usr/share/bison/bison.simple
export BISON_HAIRY=$QNX_HOST/usr/share/bison/bison.hairy
WIN32
Bison 1.6 can crash on Win32 systems if YYINITDEPTH is too small Compile with
/DYYINITDEPTH=5000
================================================================================
CHANGELOG
================================================================================
Visit http://www.cs.fsu.edu/~engelen/changelog.html to view the latest changes.
================================================================================
LICENSE
====================================================================
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
gsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoapgsoap
资源推荐
资源详情
资源评论
收起资源包目录
gsoap (2000个子文件)
symbol2.c 517KB
symbol2.c 517KB
stdsoap2.c 458KB
cacerts.c 227KB
wsseapi.c 176KB
soapcpp2_yacc.tab.c 148KB
wsrmapi.c 126KB
wsse2api.c 108KB
lex.soapcpp2_lex.c 79KB
mod_gsoap.c 49KB
wsaapi.c 48KB
webserver.c 45KB
mod_gsoap.c 43KB
mecevp.c 39KB
dom.c 33KB
httpda.c 30KB
router.c 27KB
smdevp.c 22KB
wsrmdemo.c 22KB
mtom-stream-test.c 20KB
wssedemo.c 17KB
options.c 14KB
rss.c 13KB
mtom-test.c 12KB
httpget.c 11KB
soapcpp2.c 9KB
soapcpp2.c 9KB
httpmd5.c 9KB
sslserver.c 9KB
httppost.c 9KB
wsademo.c 8KB
sslclient.c 8KB
httpform.c 7KB
duration.c 6KB
struct_timeval.c 6KB
struct_tm.c 6KB
logging.c 6KB
httpdatest.c 6KB
handler.c 6KB
init2.c 5KB
init2.c 5KB
httpposttest.c 5KB
event.c 5KB
udpserver.c 5KB
long_double.c 5KB
xml-rpc-weblogs.c 4KB
error2.c 4KB
error2.c 4KB
googleapi.c 4KB
httpgettest.c 4KB
mashupserver.c 4KB
threads.c 4KB
xmas.c 4KB
md5evp.c 4KB
plugin.c 4KB
udpclient.c 4KB
calcserver.c 3KB
xml-rpc-currentTime.c 3KB
ckdb.c 3KB
httpmd5test.c 3KB
calcclient.c 3KB
WS-example.c 2KB
mashupclient.c 2KB
ckdbtest.c 1KB
calcclient.c 998B
interopMain.c 736B
wsdlC.cpp 1.01MB
stdsoap2.cpp 458KB
stdsoap2.cpp 458KB
stdsoap2.cpp 458KB
soapC.cpp 345KB
wsseapi.cpp 176KB
types.cpp 109KB
types.cpp 109KB
service.cpp 102KB
service.cpp 102KB
calcC.cpp 94KB
soapC.cpp 93KB
soapC.cpp 93KB
gmtC.cpp 56KB
xmasC.cpp 56KB
envC.cpp 52KB
schema.cpp 51KB
schema.cpp 51KB
wsdl.cpp 46KB
wsdl.cpp 46KB
gsoapWinInet.cpp 39KB
soapClient.cpp 37KB
dom.cpp 33KB
wsp.cpp 31KB
wsp.cpp 31KB
publish_v2.cpp 21KB
xml-rpc.cpp 18KB
dimeserver.cpp 16KB
inquire_v2.cpp 16KB
wsdl2h.cpp 16KB
wsdl2h.cpp 16KB
factory.cpp 14KB
dimeclient.cpp 12KB
varparam.cpp 12KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
wz408
- 粉丝: 0
- 资源: 39
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页