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
2 answers

gSOAP Server and Client within a Same Module

I want the application to be both a soap server and soap client, how to do that? How to handle below issue? Suppose the soap Server provides ServiceA and the soap Client will access ServiceB in remote machine, and the skeleton files can be generated…
Wallace
  • 561
  • 2
  • 21
  • 54
0
votes
1 answer

C/C++ : What is the right gSoap command line to generate web service from WSDL?

I have a WSDL that I must respect to generate the Web Service (SOAP/HTTP) in C/C++. For this I'm using gSoap. I find there is this command wsdl2h but I don't see the right parameters to generate the service and not the client. Thank you
user1459961
0
votes
1 answer

Compile Gsoap Src Files Into My Project

I am new to gsoap. I wonder if it is possible to compile the gsoap source files into my simple project directly. I created a simple hello world c++ project, and wanna to put the essential gsoap source files into this project, finally compile them…
Wallace
  • 561
  • 2
  • 21
  • 54
0
votes
1 answer

Extract subset of methods from WSDL

I'm integrating with a web service providing a huge WSDL file containing lots of methods. Of those methods, I only need a few (up to 10) plus (obviously) corresponding types used in them. Is there a way (except manually editing the WSDL file) to…
mike.dld
  • 2,929
  • 20
  • 21
0
votes
0 answers

gSoap c++ outputs request xml and then does nothing

I'm having a problem with the gSoap c++ library... I have generated the proxy classes from the wsdl and included them into my project. It has no problem compiling, but when I execute it, it just outputs the request xml and then does nothing... it…
xmysteriox
  • 129
  • 3
0
votes
1 answer

Is it possible to create a SOAP web service in C/C++ over HTTP?

Is it possible to create SOAP web services (not client) over HTTP in C or C++, that respects the WSDL contract, using these Frameworks/libraries : Apache CXF Axis2/c gSOAP ?? Thanks in advance :)
Farah
  • 2,469
  • 5
  • 31
  • 52
0
votes
1 answer

gcc does not link properly against gsoap

I'm migrating my C++ application build system to cmake. One dependency is gsoap++, which generates a SOAP service and client. To link against it, I specify set(CMAKE_CXX_LINK_FLAGS "-lgsoap++ ... [other flags]") in the root CMakeLists.txt. The…
flyx
  • 35,506
  • 7
  • 89
  • 126
0
votes
1 answer

Gsoap 2.8.17 undefined reference to 'soap_initialize'

I'm new with gsoap and trying to build a multithreading server standalone, reading the problems with the ubuntu package with memory by default, I installed the last version 2.8.17. Reading some posts here I tried the example posted by jackson gSOAP…
0
votes
1 answer

Failed to compile gsoap-generated server code with C++ Builder

I am trying to build a server application using gsoap 2.8.17. I've created a header file with service function prototype and a result record definition testserver.h: #ifndef TESTSERVER_H #define TESTSERVER_H #include //gsoap ns service…
Yury Rudakou
  • 411
  • 3
  • 15
0
votes
1 answer

ONVIF video stream on camera side (not client side)

I am trying to write an ONVIF video stream at the camera side on Linux Fedora (not the client side). I already installed the WSDL2H and ran: wsdl2h -c o onvif.h http://www.onvif.org/onvif/ver10/device/wsdl This command built the onvif.h I wrote a…
0
votes
1 answer

gsoap complexTtype containing a complexType

For a project, i have to write a gsoap client on a Windows platform. I'm using MinGw g++. I have generated the code using the -j option in order to receive the soap...Proxy.h and .cpp files I want to send a request to our web service, where the…
surreal
  • 33
  • 5
0
votes
1 answer

How to use gSOAP to validate xml against xsd

I'm facing the following problem concerning xml validation with gSOAP: I use wsdl2h to generate a header file from my xsd and soapcpp2 to generate C sources from that header file. Using the generated sources in my program I'm able to write an xml…
0
votes
1 answer

nullable WSDL message part?

Problem: I have a SOAP service with the following simplified WSDL:
Tony Baguette
  • 617
  • 7
  • 14
0
votes
1 answer

gSOAP response EOF (Staeubli CS8)

i'm programming an interface for a Staeubli Robot Controller (CS8). Everything runs smooth until i try to request some IO information. The request ends with SOAP_EOF. I tried a few other request an they all just work fine. So i captured the…
user2957270
  • 11
  • 1
  • 4
0
votes
0 answers

soap_call_ compilation error: "identifier not found"

I am trying to use gsoap 2.8 to connect a C++ plugin to several web services. When I used it to connect to single service I got, among other, a function soap_call_KitPro_GetDefectsByDateRange() Now that I have created a wsdl file containing several…
Ilan
  • 1