Hello,

 this is the test  code that i m using :

  RpcServiceAsync      s = (RpcServiceAsync)GWT.create(RpcService.class);

ServiceDefTarget t = (ServiceDefTarget)s;

t.setServiceEntryPoint(Constants.DEFAULT_RPC_URL);  //DEFAULT_RPC_URL = "
http://127.0.0.1:8888/pdm/rpc";

s.getFileList(new AsyncCallback<String>() {

@Override
public void onFailure(Throwable caught) {
Window.alert("Error : " + caught.getMessage());
 }

@Override
public void onSuccess(String result) {
 Window.alert(result);
}
});

like i said before compiling with xs-linker the code work fine and i can
alert the filelist

right after i compiled with xs-linker the rpc call fails

i still can figure what i m doing wrong.

any help would be sooo welcome

thx and greets

P.S : i noticed that after compiling with the xs linker the .rpc file get
deleted ? why is that ? maybe that s the reason ?



2010/2/26 Fabiano <[email protected]>

>
>
> On Feb 26, 12:52 am, nino ekambi <[email protected]> wrote:
> > Yeah i know
> > ant that s exactly  what i m doing.
> >
> > Befor  the compiling with xs-linker everything works fines
> >
> > after the  comoiling nothings works.
> >
>
> This sounds strange, ramesh has this SOP issue cause he has used
> different ports (which is considered like a different domain at all) :
> >My client and my server are running on "localhost:8888" and my
> >external webpage is for testing purpose running on "localhost:8080". I
>
> In your case please post the name (or similar example ) of your page
> URL domain, and the URL of your webservice.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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