587 questions
-1 votes
1 answer
51 views
gSoap API soap->fpost is truncating value of bearer token [closed]
I am using gSoap to interact with Exchange Online using EWS APIs. Lately I have seen that gSoap request soap->fpost is truncating value of bearer token and that is resulting in access denied error. ...
0 votes
0 answers
35 views
Soap Input validation failure to be reported to host application
xsd contents is as below <xsd:element name="Tag" minOccurs="1" maxOccurs="1"> <xsd:simpleType> <xsd:restriction base=&...
1 vote
0 answers
104 views
DPWS WS-Discovery: ProbeMatch Received in Wireshark but Device Not Showing in File Explorer Network
I am working with WS-Discovery and DPWS (Devices Profile for Web Services) using gsoap library. My goal is to make my device appear in the Network section of Windows File Explorer using WS-Discovery ...
0 votes
1 answer
54 views
Using gSoap to fetch a file from an Interplay Web Services instance
I plan to use gSoap in my project to fetch a file (located at an endpoint + URI) from an Interplay Web Services instance. Is there a best practice to go about this? I notice there are several plugins ...
-1 votes
1 answer
145 views
problem to generate child elements of SOAP-ENV:Header in the gsoap
I want to create something like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" ...
0 votes
0 answers
67 views
How to make Gsoap XML parsing read correct elements from response messages and ignore wrong/corrupted ones?
According to onvif documentaion https://www.onvif.org/ver10/schema/onvif.xsd ImagingSettings20 type has a tt:FocusConfiguration20 element <xs:complexType name="ImagingSettings20"> ...
3 votes
0 answers
159 views
How to make Idiomatic calls to C code generator, within `build.zig`
I am feeling my way through a project that combines gSOAP with Zig: starting with 100% C then replacing it piece by piece with Zig. Central to the project is using the gSOAP WSDL to C code generator. ...
-1 votes
1 answer
105 views
Standalone webserver to serve HTTP GET requests
I'm developing a webserver(FCGI) based on using gsoap v2.8. This webserver shall respond to the incoming HTTP GET requests but it's not working. I got to know that gsoap provides HTTP callbacks to ...
1 vote
1 answer
560 views
I can't generate stdsoap2.c (.h) file with soapcpp2 release 2.8.117
I am following tutorials on gSOAP website to build a gSOAP-based web service. Specifically, I follow an example for building this service using calc.c from the auto-generated calc.h. I have run the ...
0 votes
0 answers
91 views
How to handle large payload xml attacks when using gsoap library for parsing xml request in C?
I recently came across a scenario where during the parsing of a xml attribute, it's getting stuck during the parsing since the input is very large. The input is intentionally made large, so need to ...
0 votes
1 answer
353 views
ONVIF: How to implement filter in EventBindingService::CreatePullPointSubscription
We're using gSoap 2.8.106 (since that's what Yocto Kirkstone provides). We've taken https://github.com/KoynovStas/onvif_srvd as a base and started implementing ONVIF S and T Profile. T Profile ...
0 votes
0 answers
92 views
How to generate headers with sources for gSoap? (WS-Security)
I'm trying to add support for WS-Security so that basic authorization is possible in the server request header. I checked this doc https://www.genivia.com/doc/wsse/html/wsse.html The problem I ...
0 votes
1 answer
90 views
When i am trying to migrate my code from 32 to 64 bit , Gsoap gives me warnings related to -Wsign-conversion, how to resolve this warnings?
Gsoap gives me warnings related to -Wsign-conversion, since gsoap source files are auto generated i am unable to resolve these warnings. Can someone please me with this. Thanks in advance. 64bit ...
1 vote
0 answers
222 views
WS-Discovery Proxy (Ubuntu, gSOAP, C++)
WS-Discovery Proxy I've been trying to get an older example of a WS-Discovery Proxy implemented in C++ to run. It can be found here https://github.com/mpromonet/ws-discovery I know it's a shot in the ...
0 votes
1 answer
269 views
How can I get gSOAP to log into syslog?
I'm using gSOAP on embedded Linux. I'm using Yocto so I added: TARGET_CPPFLAGS += "-DDEBUG" to the gsoap .bb recipe and that enabled logging. But what I get is three log files: \RECV.log ...