Using gSOAP to consume a Web Service from C++

619 views Asked by At

I have followed this page to generate client proxy of Web Service: https://www.genivia.com/doc/soapdoc2.html#tth_sEc1.2

The problem is that what occurs is different from what the document says it should occur.

For instance, this file was generated by "wsdl2h -o WSLipigas.h http_of_wsdl": WSLipigas.h

On the other hand, these files were generated by "soapcpp2 -i -C -Iimport WSLipigas.h": ns1.nsmap, SoapC.cpp, soapH.h, soapStub.h.

soapcpp2 output is different from what documentation says, even when i am using version 2.8.

When I examined the generated files, I didn't find any class that I can use conveniently.

The only methods i found were of the type "soap_METHOD_VERB_send__ns1__ACTUALFUNCTION" and "soap_METHOD_VERB_send__ns1__ACTUALFUNCTIONResponse"

With that, i don't now how to proceed later on.

Any help will be appreciated.

0

There are 0 answers