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 Initialization Segfault

Fedora 18, gsoap-2.8.7 from official repo, segfault when trying to initialize soap class (C++): Valgrind log: ==15224== Invalid write of size 8 ==15224== at 0x98C59A8: soap_init0 (stdsoap2_cpp.cpp:8851) class SoapAccessor { public: …
0
votes
1 answer

gSOAP and .NET compatibility

I am using gSOAP for creating a web service to be hosted by a Linux-based system. I start from the following header file (mytest.h): #ifndef MYTEST_H #define MYTEST_H //gsoap ns service name: mytest //gsoap ns service namespace: urn:mytest //gsoap…
Morix Dev
  • 2,700
  • 1
  • 28
  • 49
0
votes
1 answer

requesting security token from STS with gSoap

I'm using gSoap 2.8.17 with C++ and need to request a security token from the STS. I added wsee to my client code by following this: Run wsdl2h -t typemap.dat on a WSDL of a service that requires WS-Security headers. The typemap.dat file is used to…
lifemikey
  • 86
  • 2
0
votes
2 answers

gSOAP: How to omit optional element in response?

I have a SOAP function which is defined in gSOAP syntax as //gsoap ns service method-documentation: get foo and bar int ns__getFooBar( xsd__string arg1, xsd__int arg2, struct ns__getFooBarResponse &response ); The response element is defined as …
Johannes S.
  • 4,566
  • 26
  • 41
0
votes
1 answer

Compilation error with GSOAP c++

I am trying to follow the GSOAP documentation to create a server - client webservice in c++. Here is a part of the code of my server : int main() { return soap_serve(soap_new()); // use the service operation request dispatcher } //…
Soji
  • 177
  • 1
  • 5
  • 17
0
votes
1 answer

SOAP & WS-Addressing using gsoap

For a project i need to use a WCF service (not created by me). I had created the appropriate classes using the gSoap toolkit and everything was working great! That was until the developer of the service decided to update it and require…
stavrop
  • 465
  • 2
  • 8
  • 20
0
votes
1 answer

No element in TerminateSequence message

I am implementing a soap client using the gsoap library with WS-Reliable Messaging and WS-Security to call a one-way remote action. All the soap messages (CreateSequence, actual message, CloseSequence) have a element in the soap…
HAL
  • 3,888
  • 3
  • 19
  • 28
0
votes
1 answer

Accessing Service With SelfSigned Certificate Using GSOAP

I have a Service deployed on a Server which is Signed using self signed certificate. I am currently able to access the service using if (soap_ssl_client_context(&soap, SOAP_SSL_NO_AUTHENTICATION, NULL , NULL, …
remo
  • 487
  • 3
  • 10
  • 22
0
votes
1 answer

gSoap example is not compiling

I am trying to build my first gSoap application. Even the calc example given wouldn't compile for me. I followed the readme file, and did the following: converted the wsdl to a header with the provided tool (wsdl2h -s -o calc.h…
Innkeeper
  • 663
  • 1
  • 10
  • 22
0
votes
2 answers

gSoap : is keep-alive header mandatory for asynchronous message?

Initially, I have problem with the option keep-alive enabled (it blocks the next clients calls. Only the first call that receives an answer). And now, I need to implement some asynchronous web services using gSoap. So am I obliged to enable…
Farah
  • 2,469
  • 5
  • 31
  • 52
0
votes
1 answer

what is a "Backlog" in webservices?

I noticed that in gSoap ( C++ webservices implementation ) if I improve the backlog so high, I won't have at the client side an error such as : Non HTTP response The backlog is set for my gSoap server in this instruction : m = soap_bind(&soap,…
Farah
  • 2,469
  • 5
  • 31
  • 52
0
votes
1 answer

How to interpret the received data in C++ when using gSoap?

I have implemented a service in C++ using gSoap. I have created it from a multiple existing WSDL files. And now I need to give a definition to every virtual method of the service. Let's take a look at one generated method declaration in the file…
Farah
  • 2,469
  • 5
  • 31
  • 52
0
votes
0 answers

How to link progress bar with request send to remote service through gSOAP?

I have a Java web service and I am calling it from my Objective-C++ Cocoa application. I generated stubs using gSOAP. My question is how to link progress bar with request send to remote service through gSOAP proxy class?
abg
  • 2,002
  • 7
  • 39
  • 63
0
votes
1 answer

Segmentation Fault while accessing custom defined gsoap header

We are trying to include custom defined header in gsoap structure. Below is our header definition: typedef struct apollo__Header { char *UserName; int VenueId; time_t TransactionTime; }; struct SOAP_ENV__Header { struct apollo__Header…
0
votes
0 answers

WCF Compatible Service Running on Linux

I am designing an interface that allows a .NET client to communicate with our hardware. The hardware is running a flavor of Embedded Linux, and the firmware team plans to use lighttpd for a Web Server, and gSOAP for a SOAP based web service. Also…