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

gsoap WS-Discovery and .Net interoperability

I have implemented a SOAP server using gSOAP with WS-Discovery enabled that is used by a .Net client. I have not been successful in having the client to discover the server, nowhere I've found any example or any documentation on how to make it…
Pedro
  • 451
  • 4
  • 5
0
votes
2 answers

How to use C++ with gsoap to read email from outlook using exchange web services

how can we use C++ with gSOAP to fetch email data from outlook mail (in office 365) using exchange web services. Is there need to be authentication API of office 365, and if yes, then does this API support C++ language. OR gSOAP is enough to read…
0
votes
0 answers

gsoap how to generate structure instead of a class for complex type

I have a complex type that is not optional but wsdl2h is always generating a class for it instead of structure. I want minimum usage of pointers in my C++ webservice. sample wsdl
Asna
  • 108
  • 8
0
votes
1 answer

gsoap linux c++ / struct failure delivery

char or int, return value is passed well. But struct is passed to fail. server: soapcpp2 -2 -SLix ... client: wsdl2h -f -s -o ... ... soapcpp2 -i -C ... and struct{ char * value; }USER_ITEM server: int Service::GetValue(struct USER_ITEM *…
AKUMA
  • 13
  • 3
0
votes
1 answer

gSoap specify Input parameter With class Compound Data Type

i'm trying to create a method that has a class as one of his parameters. when I send from the client to the server i found that the object send is always empty this is my .h file that i used to generate the server and the client class…
Majdi
  • 521
  • 4
  • 9
0
votes
1 answer

gSoap QT undefined reference

i'm trying to use gSOAP to create a c++/QT server/client this is my Test.h file //gsoap ns service name: ColisageMutexService //gsoap ns service style: rpc //gsoap ns service encoding: literal //gsoap ns service location: …
Majdi
  • 521
  • 4
  • 9
0
votes
1 answer

ONVIF: 'GetSnapshotUri' save to FTP directly from IP Camera

I'm able to use 'GetSnapshotUri' from a linux client to get a snapshot from a ONVIF complaint IP camera (dahua) successfully via gsoap c++. Now, I need to upload this image to a FTP server. The way this would normally be done is to download the jpeg…
Zaxter
  • 2,939
  • 3
  • 31
  • 48
0
votes
0 answers

php soap client generates exception

I have a php client and a gsoap based (linux) service. When a call is made to one of the methods (services) I get the following exception: Validation constraint violation: missing id for ref #ref1 in element 'env:Envelope' The error revolves around…
user44021
  • 29
  • 7
0
votes
1 answer

SSL error while running web service client created using gSOAP

I have written a client for experttexting web-service using C++ and gSOAP. Currently this client should call the SendSMS procedure and send a single sms text message to a number specified in place of 'TO' (please see cod below). The program runs…
Syed Daniyal Shah
  • 193
  • 1
  • 2
  • 12
0
votes
0 answers

How to avoid duplicate complex types in wsdl file using gsoap?

I am generating a wsdl file from a C header file while contains similar types of structures. Using soapcpp2, I am able to generate wsdl file which contains duplicate complexTypes as some structures were similar. Is there any way to get of redundant…
Pankaj Goyal
  • 1,448
  • 3
  • 15
  • 25
0
votes
0 answers

gSoap multiple calls with SSL enabled

what is the efficient way to call a WS multiple times in gSoap with SSL enabled. I have this code: SimpleInterfaceHttpPostProxy proxy(SOAP_IO_CHUNK | SOAP_IO_KEEPALIVE | SOAP_C_UTFSTRING | SOAP_C_NILSTRING ); proxy.soap->ssl_flags =…
Lonko
  • 389
  • 9
  • 25
0
votes
1 answer

mod_gsoap error with C++ Service

I need to build and deploy C++ web services using the mod_gsoap module and need some hints. I followed the instructions at http://techiebitsandpieces.blogspot.de/2011/03/all-things-modgsoap.html and the sample "calc.c" Service is working fine. Then…
katharina
  • 1
  • 1
0
votes
1 answer

SOAP 1.1 "Client Fault" Error

I get the following error when I run a web service client that contacts a remote web service server: SOAP 1.1 fault: SOAP-ENV:Client[no subcode] "Client fault" Detail: [no detail] I have looked at the client and the server and I can find no faults.…
Cornel Verster
  • 1,664
  • 3
  • 27
  • 55
0
votes
1 answer

WS-Discovery & gSOAP set up in VS2013

My overarching goal is to create a small ONVIF client for getting camera information in either C or C++. gSOAP seemed like a good candidate and first thing I wanted to achieve was to make a small console application which would list the addresses of…
Adwo
  • 171
  • 1
  • 10
0
votes
2 answers

cant compile secured version of gsoap

i have downloaded gSOAP 2.8.17r stable (update) (20.7 MB) in /bin/ there are 2 exe wsdl2h.exe and soapcpp2.exe but they work only with non secure website,now for secured wsdl2h.exe there is a source code in gsoap/VisualStudio2005/... which we have…
Mandar
  • 1,006
  • 11
  • 28