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

How to reduce FootPrints of gsoap generated files mainly soapC.c

I am generating .c and .h files for a web-service application using gsoap 2.8.14 to be used in my application. But the client for whom i am working wants the final application binary to be of lesser footprint. while compiling these generated files…
0
votes
1 answer

WSDL for QImage(QT) in C++

I want to serialize a Qt Image (QImage) in C++ gsoap web service. The web service part where i am confused looks like code below. I want to pass a QImage with other data via web service. i dont want to use xsd:base64Binary, instead i want to use…
Irfan
  • 1
0
votes
1 answer

How to pass input to soap_call in gsoap client application?

I have problem to pass request variable in my gsoap client app. The error is Segmentation Fault (core dump). This is my header file: class _ns1__NewTransactionDataRequest; class _ns1__NewTransactionDataResponse; class…
0
votes
1 answer

compiling gsoap sample hello service

i downloaded gsoap 2.8.14, configure and install with the following commands: ./configure --disable-ssl --enable-samples --enable-debug make make install im tried to compile gsoap sample "hello". so i took the the wsdl file from the sample and did…
chrizonline
  • 4,779
  • 17
  • 62
  • 102
0
votes
1 answer

error while compiling Qt soap client

I was trying to use qt for creating client side of a web service with generated gSoap files. after adding neccessary files and stdsoap2 files and also adding : LIBS += C:\Qt2\Qt5.0.1\Tools\MinGW\i686-w64-mingw32\lib\libws2_32.a to .pro file. but…
DAkbariSE
  • 151
  • 1
  • 13
0
votes
0 answers

gsoap and implementing c++ webservices

im implementing c++ webservices. i've installed gsoap as i've found that its popular toolkit for c++ webservices. however, im a little confuse in using gsoap. basically i've got existing c++ codes and i want to use it as webservices. i read the…
chrizonline
  • 4,779
  • 17
  • 62
  • 102
0
votes
0 answers

segmentation fault in soap_free

I have a ws client developed as a shared library using gsoap-2.8 in solaris 10. If ws client is called from stand alone application(executable), it is working fine and able to retrieve the values from server. (dbx) run data Running: testws…
0
votes
1 answer

php soap client for stand alone soap server listening on custom port

i built a standalone webservice using gSoap 2.8.14 and c++. Now i am trying to write a php client for this web service but unable to do so. My webservice is listening on port 9009 PHP Code is as follows: $params = array('user' =>…
Vijay Sharma
  • 373
  • 1
  • 10
0
votes
1 answer

gsoap : plug in stlvector

I'm writting hellow-world program using gsoap v 2.8 and trying to compile it in Visual Studio 2010. I want to use stl-vector functionality. But there are import errors in directive #import "import/stlvector.h" The error: error C1083: Cannot open…
Victor Ponamarev
  • 179
  • 2
  • 11
0
votes
1 answer

Use gSOAP for VS 2003/C++ access to SOAP Web Service with WS-Security?

We have an upcoming project to allow an old platform that's only extensible with C++ / VS 2003 to call a SOAP-based web service that uses WS-Security. My Google research indicates that gSOAP could be the best way to go. I'm looking for validation…
Eric J.
  • 147,927
  • 63
  • 340
  • 553
0
votes
0 answers

Cant make simple WCF + gSOAP stack

I'm trying to make a simple communication WCF-C++. WCF application is a simple implementation of calculator (add, sub, div, mul). Ther eis no any additional dependencies or files in project. Then i made a gSOAP application and added generated proxy…
dr11
  • 5,166
  • 11
  • 35
  • 77
0
votes
1 answer

gsoap: force WS-Discovery 1.0 instead of 1.1

I am using gsoap and its plugin wsddapi to implement WS-Discovery. I need to implement WS-Discovery v1.0, but the plugin output only v1.1 messages. In the source-code of the plugin, they say it's valid both for v1.1 and v1.0, but I am not able to…
Ottavio Campana
  • 4,088
  • 5
  • 31
  • 58
0
votes
2 answers

XCode 4 gSOAP Undefined symbols for architecture armv7

I am writing a client for SOAP based web service. I am using gSOAP and it works fine in release and debug builds but cannot do a profiling with instruments. These error pops out: Undefined symbols for architecture armv7: "_soap_set_recv_logfile",…
Martin Berger
  • 1,639
  • 3
  • 18
  • 39
0
votes
1 answer

gSOAP empty answer

I'm writing a SOAP client. I'm using gSOAP version 2.7.17 and I have to stick to that version as the server is using this one and I cannot modify it as it is already running in the field. When I do my SOAP call, I always receive empty answer!…
morandg
  • 1,066
  • 3
  • 14
  • 30
0
votes
4 answers

gsoap client compile/link error

Now I am writing a program to call a web service. I write testMain.c. The others are generated by wsdl2h and soapcpp2. My compiling command is like this: gcc -Wall -g -c -L. soapC.c soapClient.c stdsoap2.c testMain.c gcc -o testMain -L/usr/lib…
Fei Xue
  • 1,995
  • 5
  • 19
  • 29