KDSoap
KDSoap copied to clipboard
Support for multiple output parameters in rpc-style operations
https://github.com/KDAB/KDSoap/blob/e69bb1f6f9a6cda9f33a74afea08cad9d745f1b0/kdwsdl2cpp/src/converter_clientstub.cpp#L671
https://github.com/KDAB/KDSoap/blob/e69bb1f6f9a6cda9f33a74afea08cad9d745f1b0/kdwsdl2cpp/src/converter_serverstub.cpp#L150
Is there any chance that support for multiple output parameters in rpc-style operations is added soon? As far as I can tell, the following message definition for a server response is perfectly valid with respect to the wsdl specification:
<message name="ReadResponse"> <part name="Parameters" type="ns1:TParameters"/> <part name="Error" type="xs:unsignedShort"/> <part name="errorText" type="xs:string"/> </message>
Are there any reasons for not implementing it, that I don't see?
Kind regards, Tim
This would require that the generated C++ method is able to return multiple values... which means either a class/struct, or a std::tuple. Feel free to implement it, I'll review the patch.