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

Define UDP socket source port using gSOAP

I develop an ONVIF application for NVT (Network Video Transmitter) IP Camera. For device discovery, ONVIF use Ws-discovery specifications. Discovery use multicast UDP socket to send "hello" message at the beginning of software execution. when I spy…
mathias
  • 21
  • 3
2
votes
1 answer

c++ gsoap SO_REUSEADDR

im trying to build a multithreaded calc++ webservice. On basis of the original example. So i wanted to build the SO_REUSEADDR in my binary. int main(int argc, char* argv[]) { CalculatorService c; int port = atoi(argv[1]) ; …
user1010775
  • 361
  • 3
  • 7
  • 24
2
votes
1 answer

Can I build the test code automatically calling the abcclientproxy.cpp methods, Generated by gSOAP 2.8.16 from abc.h

I am facing issues calling the methods of abcclientproxy.cpp, this abcclientproxy.cpp is Generated by gSOAP 2.8.16 from abc.h which was inturn generated by the abc.wsdl file. SO I wanted to know if gSoap generates a test client.cpp(main) or…
A1-C
  • 73
  • 1
  • 1
  • 6
2
votes
2 answers

What is the difference between soap_new() and soap_copy()?

What is the difference between: thread_envs[i] = soap_copy(&env); and thread_envs[i] = soap_new(); Sould we use one of them or both?
Apollo
  • 60
  • 9
2
votes
1 answer

How to pass data from client to server when using gSOAP?

I am trying to exchange data between client and server using gSOAP. Actually, I succeeded to send data from client to server but not from server to client. So, could someone please explain what functions to use to pass data from server to…
make
  • 755
  • 7
  • 21
  • 37
2
votes
2 answers

gSOAP - How to use SSL and self-signed certificate

I need to connect my cross-platform program to a SOAP web service. I have compiled the gSOAP tools wsdl2h and soapcpp2 and with these tools I have generated the source code files from from the .wsdl file. I have putted in the stdsoap2.h the define…
Bemipefe
  • 1,397
  • 4
  • 17
  • 30
2
votes
1 answer

gSOAP - parameters of soap_ssl_client_context()

I want to use gSOAP to connect the HTTPS web services, what i found about how to it using gSOAP is to call soap_ssl_client_context() first, the example i found from here is if (soap_ssl_client_context( &soap, //1 SOAP_SSL_DEFAULT,…
Aidy
  • 301
  • 1
  • 3
  • 8
2
votes
1 answer

Thrift and other Rpc frameworks vs ms rpc

What is difference between rpc frameworks like thrift or gSoap and build-in MS RPC if we talk about security configurations. MSDN describes on http://msdn.microsoft.com/en-us/library/windows/desktop/aa379441(v=vs.85).aspx some aspects, so I can…
userbb
  • 2,148
  • 5
  • 30
  • 53
2
votes
2 answers

Cross Compile gsoap 2.8. for arm

i want to cross compile gsoap for arm-linux and this is my configuration command ./configure CC="arm-linux-gcc" CROSS_COMPILER="arm-linux-" ARCH="arm" --host=arm-linux LR="arm-linux-lr" LD="arm-linux-ld" LDFLAGS="-static" --enable-static…
Daniel Nor
  • 71
  • 1
  • 12
2
votes
1 answer

gSOAP HTTP Authentication

I'm working with gSOAP 2.8.15 and I'm trying to implement the HTTP Authentication by following the instructions in section 19.14 of gsoap documentation (http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.14). The only difference is that the…
Tianyi
  • 197
  • 1
  • 8
2
votes
1 answer

How to gsoap release memory work in c++ mode?

i use gsoap for generating some class for my web service, in destruct of my class i havent see any free or delete statement, must i delete member of class manualy? -- Or gsoup destroy function has responsible for do that? this is one of my sample…
Daniel Nor
  • 71
  • 1
  • 12
2
votes
3 answers

How to compile gSoap with ssl enabled on windows?

I am trying to build gSoap binaries with ssl support. I have downloaded the latest gSoap and binaries for WIN32 openssl from this website: http://slproweb.com/products/Win32OpenSSL.html According to the gSoap documentation, I have to compile using…
Ernest_Galbrun
  • 2,514
  • 3
  • 21
  • 33
2
votes
2 answers

Syntax Error: Declaration Expected. Why gsoap cannot read vector?

I am writing a web service in gsoap. When i compile this code, it gives me error: Syntax Error: Declaration Expected When i remove vector, it compiles successfully, #include #include //gsoap ns service name: …
Kahn
  • 755
  • 3
  • 11
  • 28
2
votes
1 answer

How can return value be modified?

I have a routine calling gSoap API function soap_malloc. But the program gives me a segmentation fault whenever I try to access the memory allocated by soap_malloc. When I use gdb to debug it. I find that inside soap_malloc, return value stored in…
leowang
  • 481
  • 5
  • 12
2
votes
1 answer

gsoap c file read

I am new to C++. I have written upload file wcf in c# and have gsoap2.8 to generate header.h file. This is my upload file wcf service in c#. public void UploadFile(RemoteFileInfo request) { FileStream targetStream = null; Stream…
John H
  • 33
  • 5