GWT Client for App Engine Endpoints

2017-01-11 Thread Matthew Rubenstein
Hello. I'm trying to add a Google Endpoints client to a LibGDX project. Adding one to the GWT module is causing me a lot of problems. Is there a demo GWT project that includes an Endpoints client, deployable to Google App Engine? A project I can open in Android Studio, so either a Gradle

Re: GWT Client for App Engine Endpoints

2017-01-11 Thread Paul Mazzuca
GAE Endpoints makes available REST EndPoints for your various clients. If GWT is being used in your client, then you need to make an HTTP request from that client in order to communicate with GAE Endpoints. So the question is how do you create an HTTP async request from a GWT client? You

Re: GWT Client for App Engine Endpoints

2017-01-11 Thread Michael Joyner (NewsRx)
I don't know how much it will help, but RestyGWT could be used for the GWT client to access JSON data via a predefined and share-able json rest interface definition. Then you could use the builts, (a bit manaully), of libGDX net to to http/json calls to the end point. The end point I would

Re: GWT Client for App Engine Endpoints

2017-01-11 Thread Matthew Rubenstein
I currently have the project's GWT module send data to the backend API // Build API request URL. backendMethodURLStr= "https://api-backend.appspot.com*/* _ah/api/endpointsApi/v1/sayHi endpointRequestURLStr = backendMethodURLStr + "/" + URL.encode(dataStr); // Ping Endpoint with value REST

Re: GWT Client for App Engine Endpoints

2017-01-11 Thread Matthew Rubenstein
Well, I am making an async HTTP request using the GWT RequestBuilder API, as illustrated in the code snippet in my previous message . RestyGWT might offer better management of requests than my basic RequestBuilder