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

How to deploy a gSOAP Web Service in Ubuntu?

I have a doubt concerning the deployment of a Web Service in Ubuntu. It was implemented using gSOAP and it should be deployed, e.g. be accessible from websites (which are developed in e.g. ASP .NET). I got confused with the whole CGI, Ubuntu, Apache…
Julen
  • 1,574
  • 3
  • 22
  • 38
4
votes
2 answers

C++ and SOAP -> how to start well

My project is about to introduce SOAP. It's going to be used for C++ <-> Java and C++ <-> Flex communication. I'm responsible for refactoring our apps to take advantage of Java business rules engine and new Flex gui. What resources are must read for…
Nazgob
  • 8,502
  • 4
  • 40
  • 42
4
votes
1 answer

How to detect if session is live or expired?

Is there a call I can make to determine whether my session is still alive in a gsoap client? The only way I see to check if a session is still alive is to check to see if all the cookie values match after each soap call. It seems like gsoap would be…
Fredrick
  • 1,210
  • 2
  • 15
  • 24
4
votes
1 answer

Using gSoap in Qt/Windows

I followed the steps on gSoap's page and tried to run the example code in Qt/Windows with Mingw32 Compiler. However, I can't add lgsoap++ to linker, as stated in the documentation, since it is not in the source package To complete the build,…
Özgür
  • 8,077
  • 2
  • 68
  • 66
4
votes
2 answers

How to send XML within a SOAP message

I'm trying to guide a colleague towards the most correct way of sending an XML document in a SOAP message, but I'm no expert on the subject. It seems like something that should be solvable using a CDATA section, but a default gSOAP serializer is…
Chris
  • 3,445
  • 3
  • 22
  • 28
4
votes
2 answers

gSOAP - XML data to C struct (generated by gSOAP also)

I have some questions about using gSOAP for parsing the XML. If anyone has been experienced with this, please give me some helps. Thanks :D I never know about XML before, and now I need to parse the XML to the structs in C. Then I found some…
user2809943
  • 61
  • 3
  • 6
4
votes
4 answers

Why does this pointer-fu segfault?

I seem to have hit the limits of my Pointer-Fu and am appealing for help (or some sort of brain medicine). A rough outline of the project: An embedded ARM video-encoder board running Linux, using a manufacturer-supplied ill-documented…
John U
  • 2,886
  • 3
  • 27
  • 39
4
votes
1 answer

Making a client application with C++, GSOAP, and Onvif

I am using Visual Studio and GSOAP 2.8.15 to create a C++ Onvif client. I have run these commands to create source code: > wsdl2h -P -x -o onvif.h http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl > soapcpp2 -i -C…
Tim
  • 41
  • 1
  • 3
4
votes
0 answers

Sharing generated code for shared imported XSD files

I use gSOAP for XML data binding. Recently I refactored my XSD files by extracting a common part from two files to a separate third file and then imported it in the first two files. This was a deep and complex element that was refactored out. In…
Adam Badura
  • 5,069
  • 1
  • 35
  • 70
4
votes
1 answer

How to bind polymorphic types in gSOAP

What I am trying to do, leveraging gSOAP: Define data structures in an XML schema Use wsdl2h and soapcpp2 to generate C++ classes representing these structures Read and Write these structures in XML from C++ Note that I am not using a Web Service…
Josh
  • 41
  • 3
4
votes
2 answers

gsoap error: SOAP-ENV:Client [no subcode]

I downloaded gsoap 2.8 and went into the samples folder and ran a make. Everything seems to have built fine. I then navigated into the "ssl" folder and ran the sllserver in one xterm and ran sslclient in a second xterm window. (I am running RHEL…
TheBigOnion
  • 615
  • 3
  • 9
  • 19
4
votes
3 answers

Undefined references when compiling gSOAP client

I'm trying to create a client for a web service in C. I was generated C files with the wsdl2h and soapcpp2. In netbeans I'm added the generated files and the gSOAP include dir to the project's include directories. my main file looks like…
Blackguard
  • 193
  • 1
  • 2
  • 9
3
votes
1 answer

Check CRL OpenSSL C

I'm developing a secure webserver in C/C++ using gSoap and OpenSSL. I need to check a CRL - struct X509_CRL - to see wheter or not a certificate - struct X509 - is revoked. I don't know how to do it and it doesn't seem I can find anything on the…
biagiop1986
  • 295
  • 4
  • 15
3
votes
1 answer

GSOAP: Automatic Proxy configuration URL

How can I setup a GSOAP generated proxy client class to use an automatic HTTP proxy configuration URL? I know I can configure the HTTP proxy address like this: AnyWebServicePortBindingProxy _client; _client.proxy_host = "192.168.0.x"; // A valid…
j4x
  • 3,595
  • 3
  • 33
  • 64
3
votes
3 answers

gsoap++ linking error

I wrote a soap-client with gsoap++ library. once i compiled this one as a stand-alone test app it was compiled fine, but when i try to compile these classes including in my project i get a lot of linking…
milo
  • 1,220
  • 3
  • 17
  • 33
1 2
3
39 40