~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/gsoap-linux-2.7/gsoap-symbian/.svn/text-base/README.txt.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This directory contains an example gSOAP application for Symbian.
2
 
 
3
 
The interop_all.h gSOAP header file defines the SOAP 1.1 RPC interop round 2
4
 
A, B, and C test services.
5
 
 
6
 
The interop_all.h was compiled with the gSOAP soapcpp2 compiler to produce the
7
 
serializers and stubs to access the interop services:
8
 
 
9
 
soapcpp2 -CLwx interop_all.h
10
 
 
11
 
The soapcpp2 compiler is platform-independent, so you can run the command on
12
 
Windows, Linux, or Mac OS X for example.
13
 
 
14
 
The generated files are:
15
 
soapH.h         header file for serializers
16
 
soapC.cpp       serializers
17
 
soapStub.cpp    header file for stubs
18
 
soapClient.cpp  stubs
19
 
 
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.
27
 
 
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.
34
 
 
35
 
See gsoapOnSymbian.doc for Symbian-specific build issues.
36