gsoap

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 and/or alternative suggestions. ...

Network programming: SOAP vs DIY marshalling with XML library?

I know that there are a lot of discussions already on SO about SOAP, bloat, XML, and alternative mechanisms like REST. Here's the situation. A new team member is really talking up SOAP based upon the difficulty of implementing protocols by hand. He recommends gSOAP (project is all in C++.) He is stating things like WSDL cleaning up lots...

Where can find WSDL file generated by gSOAP

Hi there, I received url of web service running on gSOAP/2.7 (deciding from HTTP headers). The problem is they didn't provide me with WSDL file. Anybody knows which default URL I should look for WSDL if service address is http://www.host.com/ ...

could gSoap be integrated with the Google app engine?

We are using GAE to host our web services, as far as I know GAE only support Java and python at the moment, however most of our engineers here are more comfortable with C/C++, so i was wondering if there is a way to integrate gsoap with GAE at all. Thanks for your help! ...

Trouble using GSoap and SSL

I'm writing a gSoap client application against a service that has both standard http and https versions. Everything I've written so far works fine with the http service, but when I switch over to the https service, suddenly I'm getting errors. The only change I made to the code for https support was to add the following on startup: s...

In gSoap, what does the "host" argument to soap_bind mean?

The gSoap API function soap_bind has an argument called host. The documentation is unclear about what the argument is for. Is it: The hostname/IP of a local network interface on which I want to listen The hostname/IP of the only remote host I will allow to connect Something else? ...

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 client? Thanks for your time and replies, ...

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? ...

Usage of compression on WCF web service and gSOAP

Hi all, I wish to add compression to the WCF based web service to reduce the payload and increase throughput. But the issue is that I consume the service from a c/linux application using gSOAP. I know gSOAP allows compression, but I am not sure if gSOAP and WCF based web service can talk to each other with compression on. Please put fo...

Can I implement callback from WCF based HTTP service to a gSOAP c/Linux client?

I have a Linux/c client app that connects to a WCF web service over HTTP/SOAP (BasicHTTPBinding). I am using gSOAP. Can I implement the calls to the web-service using callback? I want to get the data asynchronously as call back. Update: I have updated the question title. ...

gSOAP 2.7.15 Adds a redundant namespace to the message header

Hi, I upgraded my application to use gSOAP 2.7.15 (instead of 2.7.9L). In 2.7.9L I added a code to insert the namespaces to the message header - and it worked fine. In 2.7.15, the namespaces are being inserted automatically but WS-Addressing namespace appears twice!! Any idea?? ...

Are there any lightweight alternatives to gSOAP?

I've tried using gSOAP for accessing a web service (e.g. using supplied WSDL to generate C stubs and then using them in an app). However, I've found that the generated .c and object files is quite big (several megabytes), which is a problem in embedded environment where I work. Do you know of any simpler SOAP libraries, or do I have to ...

How to enable GZIP with gSOAP?

I want to enable GZIP compression on my gSOAP client. How can I do it? ...

gSOAP: How to pass info inside soap header

I wish to send some information like authentication token inside SOAP header. I am using gSOAP/c/Linux. Please help me how to pass? My SOAP_ENV__Header looks like /* SOAP Header: */ struct SOAP_ENV__Header { struct ns3__Header *ns3__MyHeader; /* mustUnderstand */ }; and ns3__Header looks like /* ns3:Header */ struct ns3__Header...

gSOAP: How to send encrypted SOAP header

I want to send some info, like user credentials in the SOAP header from my gSOAP client to my WCF webservice. I wish I could send them in encrypted form. I am using GPRS to commuicate. As GPRS bandwidth is low, I don't want to use HTTPS. So I want to encrypt the header only. Is it possible? If yes, how? Please guide me. ...

Using gSoap in Qt/Windows

I followed the steps on gSoap's page and tried to run the example code in Qt/Windows with Mingw32 Compiler. However, I can't add lgsoap++ to linker, as stated in the documentation, since it is not in the source package To complete the build, compile and link the generated soapC.cpp, soapcalcProxy.cpp, and the run-time gSOAP en...

web service with no input parameter

I have a WSDL with various portTypes. Some of the contain only output <operation name="getServerTimeZone"> <output message="s0:getServerTimeZoneSoapOut"/> </operation> I would expect that the correct should be: <operation name="getServerTimeZone"> <input message="s0:getServerTimeZoneSoapIn"/> <output message="s0:getServerTimeZo...

How to hash a password and store for later verification with another digest

I am using gsoap's wsseapi plugin and would like to store hashed sha1 passwords rather than plain text. I have spent a rediculous amount of time experimenting with various methods of hashing the plain text password for storage. Can anyone suggest a way to hash a password so it can be later verified against a username token digest sent b...

C++ gsoap mime/dime for binary files in windows

Hello, I'm pretty close to losing my head here ;) I'm developing a service that uses gsoap. I would like to return a mime response. I have everything working, but when reading binary files, all kind of files like jpeg, pdf, etc... contains the \0 char several times over the data (if opened with notepad can see a lot of NUL). So any c...

consume gsoap webservice from .NET client

From a .NET application, how do I consume a Web Service developed using gSoap c/C++ library? I can create a C/C++ client using gSoap library to consume the web service. But I need to consume it from within a .NET (C#) application. I tried Adding a Web Reference but that doesn't seem to work. Would I need to work with raw Soap Packets?...