V15 Rest API in Java

This is sort of a repost of an earlier post from a few months back. I have started playing around with the Rest API with Java using Eclipse as my IDE. I have downloaded the librray and successfully made some calls using some of the standard classes. I had hoped to be able to us a custom stored procedure to access data as well. When I run the request through the client it returns the data accurately. However, in Eclipse I attempt to manually build the LocalProcedureRequest object and pass it through the Custom.ExecuteLocalProcedure method. However when I do I am getting the following error message:

java.lang.RuntimeException: Unable to invoke no-args constructor for interface org.apache.http.HttpMessage. Register an InstanceCreator with Gson for this type may fix this problem.

When I first posted we were still in V12.5 and I was using the V15 library, but we've since upgraded and I still get the same message. Anyone have any thoughts on this? Is it an issue with the way I am building the object or invoking the execute method in the driver, or something else?

Parents Reply Children
No Data