Just to close the loop on this one...  the problem was that I was starting
GWT 'DevMode' as a Java application in Eclipse.  After I started it as a
'Google Web Application', the SDC started working!

On Tue, Apr 27, 2010 at 10:34 PM, Ajay Chitre <[email protected]> wrote:

> Hello,
>
> I created a GWT application, tested it locally and later deployed it on
> Appengine.  Everything was working well.  Later I added code that uses SDC
> (Secure Data Connector).  It looks something like this..
>
>       URLFetchService fetcher =
> URLFetchServiceFactory.getURLFetchService();
>       URL dataURL = new URL("http://localhost:8182/jobs?arg1=1&arg2=1";);
>       HTTPRequest fetchreq = new HTTPRequest(dataURL);
>       HTTPResponse resp = fetcher.fetch(fetchreq);
>
> Every time I run it, the fetcher.fetch method throws an exception that
> says... "com.google.apphosting.api.ApiProxy$CallNotFoundException: The API
> package 'urlfetch' or call 'Fetch()' was not found."
>
> I tried changing the classpath, but nothing seems to help.
>
> I created a separate GWT application given in the tutorial and added the
> above code to it.  It works just fine, which implies that something is wrong
> with my project setup... missing jar in Classpath.. or something like that.
>
> Please help.  Thanks.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to