Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple output parameters in rpc-style operations #112

Open
NeubertT opened this issue Dec 18, 2017 · 1 comment
Open

Support for multiple output parameters in rpc-style operations #112

NeubertT opened this issue Dec 18, 2017 · 1 comment

Comments

@NeubertT
Copy link

Q_ASSERT(soapStyle(binding) == SoapBinding::DocumentStyle); // RPC with multiple return values? impossible, we generate a single wrapper

qWarning("ERROR: multiple output parameters are not supported (operation %s) - please file"

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

@dfaure-kdab
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants