Building a reflection client to interact with a reflection server made in C++ #1671
Unanswered
Maniacobra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to make a small Rust program which could interact with a C++ reflection server, I'm trying to get the list of functions or calling a method "GetVersion()" to start with, but any requests sent to the C++ server ends up with "Unimplemented" despite that the server implements all these features considering that another program manages to interact with this server successfully.
Here's an example test of .proto file in the server :
There's actually way more and the C++ server is a complex program that I cannot change but it's just for illustration.
Key goal would be to not need the .proto files for the client program, and using only reflection to send and receive requests.
I think the missing thing that makes the "Unimplemented" error is the lack of service descriptors, in the C++ client able to communicate with the server, it is specified "com.test.Broker".
The lack of examples and documentation makes all of that particularly tough to figure out, do you have any idea ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions