1
This directory contains an example gSOAP application for Symbian.
3
The interop_all.h gSOAP header file defines the SOAP 1.1 RPC interop round 2
4
A, B, and C test services.
6
The interop_all.h was compiled with the gSOAP soapcpp2 compiler to produce the
7
serializers and stubs to access the interop services:
9
soapcpp2 -CLwx interop_all.h
11
The soapcpp2 compiler is platform-independent, so you can run the command on
12
Windows, Linux, or Mac OS X for example.
14
The generated files are:
15
soapH.h header file for serializers
17
soapStub.cpp header file for stubs
20
Because the generated code is platform-independent, it is strongly advised to
21
try to build a simple test application on a non-Symbian platform first to verify
22
interoperability and data exchange. Because logging is disabled on Symbian, it
23
will be hard to find the source of a interop problem. After testing the
24
application, you can use the same sources to build a Symbian application. The
25
stdsoap2.h and stdsoap2.cpp contains platform-dependent code and is required
26
to complete the build of your application.
28
To develop an application from a WSDL, run wsdl2h.exe (or a wsdl2h executable
29
for any other platform) on the WSDL file. Mind the command line options. For
30
example, wsdl2h.exe -c generates C code and wsdl2h.exe -s generates C++ code
31
without requiring STL. This command generated a C or C++ header file. After
32
this, you need to run soapcpp2.exe on the generated header file to create the
33
serializers and stubs.
35
See gsoapOnSymbian.doc for Symbian-specific build issues.