Tuesday, June 23, 2015

Gwt with Rest Architecture problem

hi,

I have 2 separate wars. 1 with gwt views and second war with rest web services (which returns JSON response).
Now the gwt war can be deployed on a different server and the rest war can be deployed on a different server.

My problem is that calling the rest services from the gwt views does not work because of cross ite scripting. Its gives error when i try to call the service.
I do not want to add headers in rest services to allow this because of security risk.

I cannot use JSONP because it expects a JSONP response from the server.

Is my arcitecture incorrect for the project or is there something which i can do?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment