I am trying to connect to an external service, using JsonRpcHttpClient.
I've done some testing, but it seems that the only way to do this is to first define an interface, and then use it in ProxyUtil.createClientProxy( to be able to call the remote service.
The interface has to define each and every possible method to be able to call them, otherwise I get "cannot find method", etc.. error.
Is there an easier way? (ie, I want to be able to call client.arbitraryMethod(arbitraryInt,arbitraryString), without defining it anywhere prior to calling, (and if such a method does not exist in the remote service, or some argument cannot be reliably type-determined, well that's too bad, throw some exception, but otherwise just call it))
Maybe this thread is about similar things?
https://groups.google.com/forum/?fromgroups=#!topic/jsonrpc4j/HDW26wkBfPMIt has been a while since some answers in it, perhaps the situation changed?