Re: Kannel gSOAP support

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Kannel Software Foundation (KSF)
Message-ID <[email protected]>
Am 10.02.2011 16:13, schrieb Stipe Tolj:
> Am 10.02.2011 16:09, schrieb Alexander Malysh:
>> Hi,
>>
>> as far as I see, you have to build C header file instead of C++, wsdl -c ...
> 
> I was looking into this, and my FC14's distro gsoap-2.7.16 rushes into error too
> while building, inside gsoap's created wrapper C files:
> 
> gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
> -D_LARGE_FILES= -I/usr/include/libxml2 -I/us
> r/include/openssl -Isoap/plugin -DWITH_OPENSSL -o soap/service/parlayx/dom.o -c
> soap/service/parlayx/dom.c
> soap/service/parlayx/dom.c: In function â?~out_attributeâ?T:
> soap/service/parlayx/dom.c:201:7: error: too many arguments to function
> â?~soap_set_attrâ?T
> /usr/include/stdsoap2.h:2384:6: note: declared here
> soap/service/parlayx/dom.c:203:7: error: too many arguments to function
> â?~soap_set_attrâ?T
> /usr/include/stdsoap2.h:2384:6: note: declared here
> soap/service/parlayx/dom.c:220:5: error: too many arguments to function
> â?~soap_set_attrâ?T
> /usr/include/stdsoap2.h:2384:6: note: declared here
> soap/service/parlayx/dom.c:222:5: error: too many arguments to function
> â?~soap_set_attrâ?T
> /usr/include/stdsoap2.h:2384:6: note: declared here
> make: *** [soap/service/parlayx/dom.o] Error 1
> 
> which should happen. The only thing may be, that the pre-created header doesn't
> match the generated wrapper C code, so that's why we "bang" here. We would
> rather create the header on the fly from the WSDL file, yep.

ok, I recall why I have added the
'soap/service/parlayx/parlayx_sms_send_service_2_1.h' header file and now tried
to "create" it on the fly. There are some WSSE header file inclusions inside
that needed to be done "manually", so the create header file wouldn't be enough
here.

Hmm, need to re-do this with an "on-thy-fly" creation of the header file, and
then trying to "patch" it for the various include statements.

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.