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
0
votes
1 answer

gSOAP: how to compile code generated with wsdl2h and soapcpp2

I'm trying to do some experiments with the gSOAP 2.8 platform. I'd need some help to compile the code generated with the wsdl2h and soapcpp2 tools. After running the two tools: bin\win32\wsdl2h.exe -v -t typemap.dat -s -o myTests\out.h…
user2961482
  • 21
  • 1
  • 4
0
votes
2 answers

In GSOAP, what is the difference between client and server mode?

I use GSOAP to implement a simple program that fullfills ONVIF discovery functionality. (The NVT, NVR part, not the Device Manager, i.e Client part) The program needs to 1) Send "ProbeMatch" messages in response to "Probe" messages of the ONVIF…
fercis
  • 611
  • 2
  • 12
  • 26
0
votes
2 answers

gSoap EWS "Error 500: Internal Server Error"

I have some problems with ews(gSoap). I have next code: ExchangeServiceBindingProxy *proxy = new ExchangeServiceBindingProxy(endpoint.c_str()); soap *pSoap = proxy->soap; pSoap->userid = "Ivan1"; pSoap->passwd = "1"; pSoap->ntlm_challenge =…
IStar
  • 184
  • 1
  • 15
0
votes
2 answers

Is it possible to execute function in separate thread in gsoap?

Nowdays there is the server (gsoap) written by c++. I have c# application (c# 4.0, winforms). I generate wsdl from this service. So I can call some functions in my app. But the duration of this functions is more than hour. I think, that the best way…
novicegis
  • 519
  • 3
  • 5
  • 13
0
votes
1 answer

gsoap does not generate C++ proxy classes

I've generated an XSD from a set of example request files for an XML web service (using Xmplify - but I doubt that's important). When I run this through gsoap, I get no errors or warnings, but even with -i or -j option on soapcpp2, I get no C++…
Phil
  • 592
  • 6
  • 15
0
votes
1 answer

wsdl2h couldn't understand elipsis (...) provided in declaration part

I've to consume a wsdl which uses polymorphism, in c code to make GSOAP calls. As per GSOAP documentation (8.2 Customizing Data Bindings With The typemap.dat File), it requires modification in typemap.dat, which is redeclaration of the base type as…
0
votes
1 answer

gSOAP - Undefined References Error in Windows using gcc.exe

I'm basically a java developer and i have a web services created using java. Now I need a client coded with C , to consume that java WS. After surfing a lot, I landed with gSOAP cos of its support of WS. Now, I was able to generate the header file…
Faz
  • 534
  • 1
  • 9
  • 27
0
votes
1 answer

gsoap and SSL/TLS vs .Net Web Services

Does gSOAP provides SSL/TLS, VPN, encryption, digital signing of data? What to prefer for web service security, gsoap or .Net for previous mentioned properties.
Kahn
  • 755
  • 3
  • 11
  • 28
0
votes
1 answer

Lighttpd server configuration to run cgi binaries using fast cgi

I have a lighttpd webserver runnning in a linux embedded box. Lighttpd have got Fastcgi enabled for php. How to edit my lighttpd.conf such that to run cgi binaries using fastcgi? Also my linux box doesn't have cgi-bin folder in it's document root. I…
mooneazy
  • 68
  • 1
  • 8
0
votes
1 answer

gsoap c++ android device encoding

8.15, I can connect my microsoft web service and I can insert record with this service easily. I get a confirmation code as a response for record insert. But I have a problem with encoding. The response message must like this…
onder
  • 795
  • 3
  • 14
  • 32
0
votes
1 answer

How compile gSoap with NTLM support? (Mac OS X)

Need help to build gSoap with NTML support (Mac OS X). Can't find any tutorials about this. In documentation I find just: HTTP NTLM authentication is enabled at the client-side by installing libntlm from http://www.nongnu.org/libntlm and compiling…
Dmytro
  • 13
  • 3
0
votes
1 answer

WCF communication from c++ gSOAP or C++/CLI?

I have several unmanaged c++ programs that I use to do "heavy lifting" type operations. I like to database certain information that these clients use. In order to do this I created a WCF service which exposes my DAL to the database. I then…
Ben
  • 546
  • 5
  • 11
0
votes
2 answers

VS2010, C++, gSOAP: cannot build

I am building a solution which connects to S3. I use gSoap++ generated files. But receive an error: soapClientLib.cpp 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xlocnum(133): error C2129: static function 'void…
ZedZip
  • 5,794
  • 15
  • 66
  • 119
0
votes
1 answer

Segmentation Fault in gSoap,The inferior stopped because it received a signal from the Operating System

I have a pointer and when i dereference it, it gives me error. The problem is that the parameter *ns__personRequestResponse int __ns3__PersonRequest(soap *, _ns1__PersonRequest *ns1__PersonRequest, _ns1__PersonRequestResponse…
Kahn
  • 755
  • 3
  • 11
  • 28
0
votes
1 answer

gSOAP JSON code generation

According to the gSOAP website the tools wsdl2h and soapcpp2 are used to generate the server-side of a webservice starting with a WSDL file. My question is, if it is possible to get auto-generated code that support JSON serialization. I'm asking…
Matthias
  • 5,574
  • 8
  • 61
  • 121