Where can I find the WSDL file created by gSOAP

I got the URL of a web service running on gSOAP / 2.7 (select from HTTP headers). The problem is that they did not provide me with the WSDL file. Does anyone know which default URL should I look for WSDL if the service address is http://www.host.com/

+3
source share
5 answers

Based on the gsoap documentation at http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc18.10 , I would say that gsoap does not automatically provide a way to get a WSDL file. This is a fairly low-level server, focusing on being small and fast, and leaving fancy things for apache, etc. Now it’s possible that your provider has implemented a method for servicing WSDL (this is quite simple), but the access method will depend on them, and not standardly.

+2
source

you just need to create a header file containing the definitions. http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc7.2.9

+1
source

, WSDL :

soapcpp2.exe -i -C -Iimport gsoap.stub

soap2cpp2 gsoap.

- :

int ns1__executeCommand(char* command, char** result);
0
source

It will be something like:

http://www.host.com/Something.asmx?WSDL

-1
source

Source: https://habr.com/ru/post/1722140/


All Articles