Category : gsoap

I am trying to login to a webservice using the following code: _ns1__Login log; log.soap = proxy.soap; log.systemname = &loginData.systemName[0]; log.username = &loginData.username[0]; log.Password = &loginData.password[0]; log.timeout = loginData.timeout; _ns1__LoginResponse loginResp; loginResp.soap = proxy.soap; auto status = proxy.Login(&log, loginResp); log.systemname = &loginData.systemName[0]; log.username = &loginData.username[0]; log.Password = &loginData.password[0]; These are all of value: char* because ..

Read more

I’m developing a Qt C++ program which must send data to a web-service. I have used gsoap (v2.8.111) to generate the data binding source code this way: wsdl2h -v -c++ -t ./typemap.dat -o binding/DonaldDuck.h ./DonaldDuck.wsdl wsdl2h -v -c++ -t ./typemap.dat -o binding/MickeyMouse.h ./MickeyMouse.wsdl wsdl2h -v -c++ -t ./typemap.dat -o binding/DaisyDuck.h ./DaisyDuck.wsdl wsdl2h -v -c++ -t ..

Read more

I have a running gSoap server on windows and need to have a soap client in C# WCF. I found few pointer to create gSoap client for a WCF server and gSoap service for a WCF client from ‘https://www.genivia.com/examples/wcf/index.html’. But I am still confused how to actually achieve this and how to create a WCF ..

Read more

I am trying to compile ‘https://www.cs.fsu.edu/~engelen/quote.html’ example using gsoap.28.11l on windows. but I keep getting below error. I am using exactly the same steps mentioned on the example. From the error ‘_set_errno’ or related function are not found, but these should have been auto generated with the soap commands. Any pointer what could be the ..

Read more

I defined additional tokenkey in soapStub.h, like the following struct SOAP_CMAC SOAP_ENV__Header { public: char *tokenKey; public: /** Return unique type id SOAP_TYPE_SOAP_ENV__Header */ long soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; } /** Constructor with member initializations */ SOAP_ENV__Header() : tokenKey() { } /** Friend allocator */ friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const ..

Read more

I have some files created from gsoap command, soapStub.h soapH.h ServiceSoapBinding.nsmap I want to modify the wsdl namespaces from myservice.ori.com to myfunction.ori.com I find the ‘myservice.ori.com‘ in ServiceSoapBinding.nsmap and soapStub.h files. I modified it, then rebuild my code to exe file But when I running the exe file, the error log is soap error: 12,SOAP-ENV:Client,Unexpected ..

Read more

I am using wsdl2h on two different systems, CentOS 8 and RHEL7. On the latter, only an older version is available which does not support argument "-L". This should not be problem because option "-L" should not change any important part of generated files. However, this is generated in TestStub.h with newer wsdl2h v2.8.91 and ..

Read more

I have prepared a project on an up-to-date computer using -std=c++11. Now, I have to compile it on g++ 4.8.5 (Red Hat 4.8.5-39). To my surprise, support for C++11 standard on this system seems to be incomplete. Please note, that the project depends on gsoap library which is also older on the production system. I ..

Read more