KDSoap icon indicating copy to clipboard operation
KDSoap copied to clipboard

kdwsdl2cpp can build the h/cpp files, but the compiler fails.

Open tuxmaster opened this issue 6 years ago • 2 comments

Using the wsdl file from VMware for the VSphere SOAP API will fail. The resulting .h file have declarations without types on any soap call.

void setReturnval(  _returnval );
    returnval() const;

Steps to reproduce: kdwsdl2cpp -o vim.h vim.wsdl kdwsdl2cpp -o vim.cpp -impl vim.h vim.wsdl

"Compile" the wsdl file with other frameworks like gSOAP will work.

vim.wsdl.zip

tuxmaster avatar Sep 19 '17 12:09 tuxmaster

Unable to open file query-messagetypes.xsd
Unable to open file core-types.xsd
Unable to open file reflect-messagetypes.xsd
Unable to open file vim-messagetypes.xsd

Can you provide the XSD files as well? Thanks, and sorry for the delay.

dfaure-kdab avatar Mar 18 '19 14:03 dfaure-kdab

In the mane time I have switched to the python bindings of vmware. But when it helps, my source was the SOAP files from vmware.

tuxmaster5000 avatar Mar 18 '19 17:03 tuxmaster5000