This is not a GWT issue at all. You have to search around about SOP, CORS
and maybe JSONP. Basically it boils down to the following

1) Client side solution - install a plugin such as forceCors
2) Server side solution - enable CORS headers to the server you want to
access. This is not the GWT originated server so if you don't have access
it is not possible.

This is security warped around for people coming to web from desktop. The
CORS restriction is correct but in order to understand it you need to
understand the thread model first.
See this
http://stackoverflow.com/questions/6744283/what-is-the-threat-model-for-the-same-origin-policy
and google for more.


   Vassilis



On Mon, Jan 26, 2015 at 8:31 AM, Mohammed Sameen <sameen....@gmail.com>
wrote:

> Hi,
>  In my gwt application i need to access some web serives exposed from some
> other port, I am getting Same origin Policy issue?Can any one let me know
> how to solve this?In generally in GWT how to access site B from site A.Is
> there any work around?any suggestion ?
>
> --
> 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+unsubscr...@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.
>



-- 
Vassilis Virvilis

-- 
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+unsubscr...@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.

Reply via email to