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

How to add an extra namespace to SOAP envelope (gSOAP)

I'm implementing an ONVIF compatible device. The gSOAP toolkit is used for C++ code generation from the ONVIF WSDL files. Everything works fine except for SOAP fault processing, ONVIF has specified an extra namespace so called ter =…
2
votes
2 answers

gSOAP with OPC XML-DA add attribute

I'm trying to develop a soap client that will access data over the OPC XML-DA specification: Here I've used the tools provided by gSOAP to generate the gSOAP header file from the OPC Foundations WSDL. (Relevant parts below) I can't seem to get gSOAP…
TechplexEngineer
  • 1,836
  • 2
  • 30
  • 48
2
votes
1 answer

Can't compile gSOAP with WS-Security support (i.e. wsse-plugin)

On a linux system, I want to create a client app using gSOAP-2.8.8 that interacts with a SOAP service build upon WCF. Therefore, I went through the following: wsdl2h -t typemap.dat -o myService.h myService.wsdl soapcpp2 -Igsoap/import -CLix…
user696597
  • 41
  • 2
  • 6
1
vote
1 answer

warning with gsoap

I am using the gsoap library and when generating automatic code with the tools wsdl2h and soapcpp2 all work fine but when compiling thats code show a lot of warning as warning: unused parameter 'soap' on prototype as: SOAP_FMAC3 void SOAP_FMAC4…
Jjreina
  • 2,633
  • 6
  • 33
  • 54
1
vote
0 answers

Calling a Web Service from MySQL?

I'd like to call web service from a MySQL trigger every time a record is inserted. At the moment I'm testing UDF and gSOAP. I've done a small test and it seems to work, but I was wondering if there wasn't a simpler way to do this.
ilitirit
  • 16,016
  • 18
  • 72
  • 111
1
vote
1 answer

gSOAP multiple definition building error in eclipse cdt

i want to use gSOAP for create web service for my project in eclipse cdt. in command line gsoap generated file compile and run with no error. but when i import the file in eclipse and build them i got this error : multiple definition of…
miremehr
  • 67
  • 1
  • 6
1
vote
1 answer

How to consume a Java Metro Web Service using Username Authentication with a Symmetric key in a Gsoap client?

I am doing research on interoperability between secure web services. The security has to be done on the message level ONLY. So far I have managed to get WCF and WSIT/Metro working together using certificates. Now I am trying to do the same thing…
Sangman
  • 171
  • 10
1
vote
1 answer

Enumeration type as return value in soapcpp2

I'm creating a web service using gSoap, in the header file I have few method definitions that their return type is enum value. When I'm executing the soapcpp2.exe tool and passing with the header file I'm getting this error: sample.h(20): syntax…
BreakPoint
  • 93
  • 1
  • 12
1
vote
2 answers

vector of objects to use with a vector of pointers

The proxy objects generated by gSoap indicate that I should use a vector of pointers: class SOAP_CMAC ota__RoomStayTypeRoomRates { public: std::vectorRoomRate; //.... }; Rather than using: vector.push_back(new…
d-_-b
  • 6,555
  • 5
  • 40
  • 58
1
vote
2 answers

Setting soap header with SOAP_ENV__Header in C

I've having a difficult time trying to set a SOAP header using gsoap. I've read the FAQ here: http://www.genivia.com/Help/FAQlist.html#g17 This answer wasn't any help: How to pass header information to the soap header SOAP_ENV__Header, in c++ using…
jc9464
  • 11
  • 1
  • 3
1
vote
3 answers

One of my soap call function in c is returning status as 12

In one of my gSOAP code in c, my soapCall function is returning 12. Can you please tell me what is the error code or value 12 in retun, means in soap.
vishal mishra
  • 11
  • 1
  • 2
1
vote
0 answers

error soap wsdl web service deploy c++?

how to create a web service on ubuntu - c++ ? can someone please give me a tutorial with a web service deploy and also an example with a web service client . I need to have an wsdl url twhich to access from windows. I didn;t find any good example…
Angel Dream
  • 411
  • 1
  • 5
  • 13
1
vote
0 answers

Qt gSoap server VS Jax-WS need sugesstions

My Company is going to start new project this year which need to archive web services on it way and I need to make decision on some technical things. After some research on web I thought that Qt and gsoap also can be candidate for the job we want to…
1
vote
1 answer

C++ gSOAP wsdl types

I'm working on a .wsdl file to define a service for gSOAP. In one of the service's requests, I want to use a user defined type as part of the request, but I can't get it right, and don't know what the problem is:
nikolas
  • 8,707
  • 9
  • 50
  • 70
1
vote
1 answer

how to use gsoap to call several services on the client side without conflict

I recently use gsoap to call web services, but once I use not only one service, the gsoap generates "soapH.h" "soapStub.h" for every service.So how can I handle these files? I tried to just simply change the second "soapH.h" and "soapStub.h" to…
Fat Cat
  • 131
  • 1
  • 3
  • 8