You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdepim/tderesources/groupwise/soap
Slávek Banko 533bad2a15
Additional k => tde renaming and fixes
11 years ago
..
patches Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
CMakeLists.txt Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
GroupWiseBinding.nsmap Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
Makefile.am Additional k => tde renaming and fixes 11 years ago
README Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
contactconverter.cpp Rename KABC namespace 12 years ago
contactconverter.h Rename KABC namespace 12 years ago
events.xsd Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
extractxml.pl Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
fixup_groupwise.h.pl Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
groupwise.wsdl Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
groupwiseserver.cpp Rename KABC namespace 12 years ago
groupwiseserver.h Rename KABC namespace 12 years ago
gwconverter.cpp Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
gwconverter.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
gwjobs.cpp Rename KABC namespace 12 years ago
gwjobs.h Rename KABC namespace 12 years ago
incidenceconverter.cpp Rename KABC namespace 12 years ago
incidenceconverter.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
ksslsocket.cpp Rename additional header files to avoid conflicts with KDE4 12 years ago
ksslsocket.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
methods.xsd Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
soapC.cpp Fix unintended rename of Checklist 12 years ago
soapClient.cpp Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
soapGroupWiseBindingProxy.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
soapH.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
soapStub.h Fix unintended rename of Checklist 12 years ago
soapdebug.cpp Rename KABC namespace 12 years ago
stdsoap2.cpp Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stdsoap2.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stl.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stldeque.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stllist.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stlset.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
stlvector.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
typemap.dat Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
types.xsd Fix unintended rename of Checklist 12 years ago

README

This directory contains the bindings for the Groupwise SOAP interface. They
consist of generated binding classes and the classes encapsulating
the SOAP for use by KDE programs.

The bindings are generated with gSoap 2.7.0d (see
http://www.cs.fsu.edu/~engelen/soap.html) from the WSDL description in the file
groupwise.wsdl. Generate the stub classes and
interface implementations by calling "make stubs". The gSoap binaries have to be
in your PATH for this.

FIXME: The generated code produces lots of compiler warnings. They should be 
properly fixed as "[t]he generated code is not safe, so the warnings are correct,
even if we currently use it in a way which works." (Cornelius Schumacher)

*) "Validation constraint violation: data type mismatch  in element <gwt:security>"

is caused by gSoap's inablity to parse gwt:security tags, creating a spurious error.  It can be fixed by editing soapC.cpp by hand and changing soap_s2ngwt__ItemSecurity(), at about lines
12490 in the generated code,

Comment out the s2QName call and change the last param to soap_code to s
//soap_s2QName(soap, s, &t);
map = soap_code(soap_codes_ngwt__ItemSecurity, s);

*) "delete" in generated code. 

The GroupWise WSDL uses the reserved word "delete" in two contexts.  gSOAP is not smart enough to catch this and rewrite it, so you have to do this by hand.  AgeAction and DeltaSyncType are the two types affected by this, so make sure you are consistent in renaming them.  There is a sed call in Makefile.am/stubs but this does not catch all cases.