Re: [appengine-java] Invoking another GAE Restful service in one GAE app

2009-12-09 Thread Ikai L (Google)
Which tutorial are you referring to? If you are invoking a REST call, you
can also make use of the low-level URLFetch API that we provide:
http://code.google.com/appengine/docs/java/urlfetch/overview.html

On Mon, Dec 7, 2009 at 8:57 PM, Featheast Lee wrote:

> I have encountered this problem in my project.
>
> I got two applications, one is an GAE Java, another is normal Java
> app. The normal Java app will provide Restful web service to invoke.
>
> Now I would like to invoke those web services in one of my GAE app's
> servlet.
>
> The working process is like: I call the GAE service to a servlet, then
> the servlet will invoke the restful service in the normal Java app.
>
> I tried to use ClientResource class follow the steps in tutorial,
> however, a warning with:WARNING: The protocol used by this request is
> not declared in the list of client connectors. (HTTP).
>
> Can anyone tell me how to solve this problem?
>
> Many Thanks.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Invoking another GAE Restful service in one GAE app

2009-12-08 Thread Featheast Lee
I have encountered this problem in my project.

I got two applications, one is an GAE Java, another is normal Java
app. The normal Java app will provide Restful web service to invoke.

Now I would like to invoke those web services in one of my GAE app's
servlet.

The working process is like: I call the GAE service to a servlet, then
the servlet will invoke the restful service in the normal Java app.

I tried to use ClientResource class follow the steps in tutorial,
however, a warning with:WARNING: The protocol used by this request is
not declared in the list of client connectors. (HTTP).

Can anyone tell me how to solve this problem?

Many Thanks.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.