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

Soap POST Request Gives Error for a Specific User, How to Resolve it?

In windows 10 OS, We have a SOAP client using gsoap library and this client sends SOAP POST requests to a server on the local network. While working as the administrator, soap requests are succesfull. When I switch the user to a newly created…
fatihk
  • 7,789
  • 1
  • 26
  • 48
1
vote
1 answer

How to bypass SSL certificate in Gsoap for C++

I have this error for webservice accessment with Gsoap. We are doing test so no SSL certificate check is required. But my client side, how can I bypass SSL check? i'm using C++. My error is SOAP 1.2 fault SOAP-ENV:Sender[no subcode] "OpenSSL not…
batuman
  • 7,066
  • 26
  • 107
  • 229
1
vote
1 answer

gSOAP does not return information from web service, but it returns only schema

I am trying to retrieve project information from Microsoft Project Server Project web service. I use gSOAP to implement the client. Here is how my code looks like: if ( project.ReadProjectStatus(&read_project_status_message,…
Hayri Uğur Koltuk
  • 2,970
  • 4
  • 31
  • 60
1
vote
1 answer

Get callback before executing server operation in gSoap server

Is there a way to get a callback from the gSoap framework before a server operation is executed? I can read in the documentation that there is a callback (fserveloop) that is called immediately after a server operation is successfully completed, but…
1
vote
1 answer

SOAP 1.2 fault: SOAP-ENV:Receiver [no subcode]

We have a web service written in java (using Axis 1.4). We access this in c++ code using gSOAP (2.8.101). We are using OpenSSL (1.1.1e). On RHEL 8 we are seeing the SOAP 1.2 fault. The error is as below: SOAP 1.2 fault: SOAP-ENV:Receiver [no…
1
vote
2 answers

gsoap - WS-Addressing elements in the SOAP Header

I need to add WS Addressing in my Soap header (I am using the gsoap framework). Is there a way to add that automatically? I looked up gsoap documentation but didnt find any info on that. So right now I have manually added the WS-Addressing to my…
Happy-Go-Lucky
1
vote
0 answers

Issues compiling vmware web api client code into useable objects

I'm using vmware's web application api in an attempt just to simply retrieve the fields in the "ServiceContent" object. There is an example of how this should be accomplished located at the vmware forum. The example contained there compiles fine for…
Marm0t
  • 921
  • 9
  • 18
1
vote
1 answer

GSoap QT undefined reference to `soap_new'?

I'm trying to use gSoap in QT. When I compile my project I get: undefined reference to `soap_new' undefined reference to `soap_delete' undefined reference to `soap_end' undefined reference to `soap_free' undefined reference to…
1
vote
2 answers

gSoap generated client-side structure initialization and use

gSoap generated client-side structure initialization and use (using ANSI C bindings) After reading through gSoap examples and documentation I was not able to find anything directly answering this issue. I have since sorted it out. This post/answer…
ryyker
  • 22,849
  • 3
  • 43
  • 87
1
vote
2 answers

gSoap: HTTP Header, Content-Length: 0

I am attempting to use gSoap in a c++ client to access the salesforce.com API using the below code: struct soap soap; soap_init(&soap); _ns1__login loginReq; _ns1__loginResponse loginRes; loginReq.username = "XXXX"; loginReq.password =…
Finbar Crago
  • 432
  • 5
  • 12
1
vote
2 answers

Is there any way to Call python soap spyne server with c++ Gsoap client?

Actually i have a python script and soap server running using soap spyne and i need to call that soap api using c++ gsoap client so that the python script will run and get the output as a response to client i am able to call the api using SOAP UI…
1
vote
0 answers

Web Service authorization issue

Need some help with KDSoap 1.7 or gSOAP I'm trying to use some Web Service API: http://sparkgatetest.interfax.ru/iFaxWebService/ . There is list of methods and to interact with them u must: call Authmethod call any method u need to call…
Bard
  • 21
  • 4
1
vote
1 answer

How to adheres to both the 1.01 and 1.02 versions of the ONVIF standard

Milestone documentation mentions that ONVIF cameras must "adheres to both the 1.01 and 1.02 versions of the ONVIF standard". What does this means in term of implementation with gSOAP ? Thanks!
1
vote
1 answer

define not recognised when generating gSOAP files from header

I am trying to generate gsoap classes from a header file soapcpp2.exe test.h where test.h // test.h #define MY_STRUCT_NAME_LEN 50 typedef struct MY_STRUCT_TYPE { char name[MY_STRUCT_NAME_LEN]; }MY_STRUCT; int op1(MY_STRUCT* a, int b, int * r…
cprogrammer
  • 5,503
  • 3
  • 36
  • 56
1
vote
1 answer

trying to understand gsoap

I am creating my first web service client using gsoap. I was able to the run the calc example provided with gsoap. Now I am trying to access String GetData() function from WCF Webservice. I did the wsdl2h and soapcpp2 steps and have generated the .h…
dev
  • 2,180
  • 2
  • 30
  • 46