I have an html page on a loaded on  xxx.somedomain:301/some.html

This html has
<script type="text/javascript" language="javascript" src="http://
yyy.somedomain:301/g-control/gwtc/z/z.nocache.js">
            document.domain = 'somedomain:301';
  </script>

and thus has to load up a GWT generated nocache.js.
I have the
    <add-linker name="xs"/>
added to the GWT.xml to allow Cross Domain Scripting.


I am able to execute the nocache.js , but any RPC fail with

com.google.gwt.http.client.RequestPermissionException:
The URL http://yyy.somedomain:301/g-control/actionservice.foundation
is invalid or violates the same-origin security restrictionCaused by:
com.google.gwt.http.client.RequestException:


What am I doing wrong here ?

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to