Questions tagged [gsoap]

gSOAP is an open source C and C++ software development toolkit for SOAP/XML Web services and generic (non-SOAP) C/C++ XML data bindings.

gSOAP is an open source C and C++ software development toolkit with auto-coding tools for XML Web services and generic C/C++ XML data bindings. Also supports JSON-RPC.

The toolkit analyzes WSDLs and XML schemas (separately or as a combined set) and maps the XML schema types and the messaging protocols for XML REST and SOAP to easy-to-use and efficient C and C++ code. It also supports exposing (legacy) C and C++ applications as XML Web services by auto-generating XML serialization code and WSDL specifications.

The toolkit is available under two licenses

  1. GPLv2
  2. Commercial-use license

gSOAP Tutorials

  1. Web Service
  2. Client
586 questions
1
vote
2 answers

Compiling sample application using gsoap and Qt 4.6 on Win 7

I am trying to compile the calc example explained in gsoap website but no success. Here is what my .pro file looks. QT += network \ xml QT -= gui TARGET = gsoap_c CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp \ …
dev
  • 2,180
  • 2
  • 30
  • 46
1
vote
1 answer

gSOAP throws SSLv3 alert handshake failure

We are using one server which is currently gone through TLS 1.2 up-gradation. Before that, our one tool which is communicating to server via gsoap works fine. Now I am getting SSLv3 alert handshake failure in soap_connect method. More precisely…
Bha01
  • 50
  • 5
1
vote
1 answer

gsoap ANSI C - Using gsoap defined ANSI C Client-side call stub correctly

I am new to using gsoap. I have 4 small successes using c++ only, however am constrained by my current project to set source code generation options to create pure ANSI C (not c++). I cannot seem to successfully call the service, the error return…
ryyker
  • 22,849
  • 3
  • 43
  • 87
1
vote
2 answers

GSOAP malforms utf-8 in std::string

I have C++ server using GSOAP. One of APIs accepts a string. int billon__concat( struct…
MateuszL
  • 2,751
  • 25
  • 38
1
vote
1 answer

Files missing with soapcpp2 version 2.8.1

I have a application that must communicate using SOAP with a SmartServer, which is a embedded device. The SOAP messages it accepts are without the namespaces but gSAOP sends them with namespaces. So they look like this:
Sander
  • 11
  • 3
1
vote
3 answers

gSoap: how to gracefully shutdown the webservice application?

I'm using gSoap to write a webservice. It's running as a console application. In all gSoap examples I see, that requests are dispatched in infinite loop like for(;;;) even in multi-threaded version. But how can I make my webservice to terminate…
Vladislav Rastrusny
  • 29,378
  • 23
  • 95
  • 156
1
vote
2 answers

gsoap allocating mem for dynamic array of structures.

gSoap usefully creates stubs to help with memory management etc. One of these commands is soap_malloc but there doesn't seem to be a corresponding soap_realloc. Before I start to write my own push and pop methods I just want to ensure I'm not…
PaulE
  • 33
  • 6
1
vote
1 answer

Enabling keep-alive when chaining multiple SOAP services with gSoap

We have a C++ windows project that performs soap method proxying. We use gSoap to implement both input / server services to accept data via SOAP methods and output / client services to proxy the incoming calls to a remote system. The SOAP services…
xwellg
  • 11
  • 4
1
vote
1 answer

gSoap, c++, how to pass a soapStub declared argument in client application

the project containing the following excerpts is a client application using gsoap generated c bindings ( gsoap - www.cs.fsu.edu/~engelen/soap.html ) The project builds fine, but breaks on the line in the main function indicated below. defined in a…
ryyker
  • 22,849
  • 3
  • 43
  • 87
1
vote
1 answer

gsoap calc++ example ended up with error

I am trying to build calc++ after looking into tutorial given here https://www.genivia.com/examples/calc++/index.html but end up with error as shown below. Here are the steps i followed wsdl2h -o calc.h http://www.genivia.com/calc.wsdl [This…
Sandy
  • 11
  • 3
1
vote
3 answers

set a member attribute in a "generic" way

Is it possible to set a member attribute in a "generic" way? I am still new to c++ and just dived into templates, if this is the way to go? The class i have to use has around 20 string members to be filled from informix database and i could loop…
groovehunter
  • 3,050
  • 7
  • 26
  • 38
1
vote
0 answers
1
vote
0 answers

c++ - SIGSEGV occurs on exit

I'm debugging a server with Eclipse and Multi process GDB. I used gSOAP 2.8 with SSL and WS-Security. The code is basically like this: int main (void) { ServerClass Server; ... //Configuration of server, SSL and WS-Security ... …
JCMiguel
  • 155
  • 1
  • 2
  • 11
1
vote
1 answer

How do I (gracefully) terminate a gSOAP server?

I have gSOAP server generated from a WSDL file + a Qt GUI. The generated code works perfectly fine, except one point that causes my process to stay alive after GUI exits. (I'm deploying on Windows, so I have no signaling) I need my GUI to stay alive…
sorush-r
  • 10,490
  • 17
  • 89
  • 173
1
vote
1 answer

Synchronization between Server & Client

I Have a server which is built on gsoap. Gsoap is also written on Qt. So I can use Qt classes. From the client I send a request to the server. The request is the following: server supplied a phone number and message which should be sent to him. This…
Tazo leladze
  • 1,430
  • 1
  • 16
  • 27