Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como Endpoints

[GWT] XMLHttpRequest cannot load. Origin is not allowed by Access-Control-Allow-Origin

I am developing an app front end  with GWT and this connect to other app that publish AppEngine Endpoints services.  (Estoy desarrollando una  aplicación   front end con GWT que se conecta a otra app que publica servicios rest en AppEngine usando Google Cloud EndPoints). But, I is generating some problems ( is not allowed by Access-Control-Allow-Origin. ):   (Pero, esto  me esta generando  algunos problemas). The app GWT  call endpoint using  RequestBuilder. and the Endpoint app is other app with other domain. and both was deployed in  https://appengine.google.com (La app GWT llama a los servicios rest' endpoints' usando RequestBuilder. y la app endpoint es otra app con otro dominio. Ambas fueron deployadas en  https://appengine.google.com ). Domains of the Apps: -xappgwtx.appspot.com ( GWT ). -xappendpointsx. appspot.com (Google Cloud Endpoints). GWT Code: public String getDevice(String id) { S...