This is a server configuration inside Eclipse issue (mostly). I posted
earlier on how to set that, in this thread.

You don't need GWT to debug this. You can test this whole thing from a
web browser.

Start by browsing to the URL in question. Let's assume it is a restful
URL to get a user:

   http://localhost:5000/users/1.json

(Note, your URL may vary.) If you browse to this URL, your browser
should launch whatever application you have configured to read json
(probably just a text editor) and it should be trying to open file
1.json. Open that file and you may see something like:

 {"uid":"A12345","nickname":"Fred","name":"Frederick Foobar","id":1}

If you are not getting json back from your URL, then there is no need
to put GWT in the mix. It won't work there either.

Once you are getting back the result you expect, then launch your GWT
app in hosted debugger mode. Make sure that the URL in the hosted mode
debugger is going to the same PORT as the one you tested in the
browser.

Watch the get request in your server logs to verify you are hitting
the correct URL. In the response in your GWT app, you WILL be getting
the same string in the body of the response. If there are still
problems, you should be able to trace the parsing inside the nice GWT
debugger and figure out what is going on.

Hope that helps.


-- 
Jim Freeze

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