Hi,
I'm a new user of Restlet. I want to call from a GWT client a REST service
running on GAE. This is my client code:
Client client = new Client(Protocol.HTTP);
client.post("http://localhost:4040/ping";,
getXMLCourseRepresentation(),new Uniform() {
@Override
I have the following spring beans configured in a context file
my "contact" bean is not being
Hello Jerome,
Jerome Louvel a écrit :
> Hi Laurent,
>
> In order to have this automatic conversion to XML or JSON happen, you need
> to add the "org.restlet.ext.xstream.jar" and *all* its dependencies in your
> classpath, including Jettison. The Restlet engine should detect it and
> leverage it to
Looking at the code in SpringRouter.setAttachments(), it looks like the
default implementation can not handle prototype spring beans.
if (value instanceof Restlet) {
router.attach(key, (Restlet) value);
} else if (value instanceof Class) {
router.attach(key, (Class) value);
} e
I'm trying to setup a SpringBeanRouter as per the javadocs since I cannot use
SpringRouter if I use spring prototype beans for attachements acc to this
http://n2.nabble.com/Unable-to-inject-Protoype-beans-into-a-singleton-bean-via-value-ref-for-a-Spring-Router-td3756435.html#a3756435
issue .
Is
Hi Infinity,
On Oct 5, 2009, at 9:58 AM, infinity wrote:
> Looking at the code in SpringRouter.setAttachments(), it looks like
> the
> default implementation can not handle prototype spring beans.
SpringRouter can't directly handle spring-configured resource
instances. You want either Sprin
Hi Infinity,
On Oct 5, 2009, at 10:03 AM, infinity wrote:
> I'm trying to setup a SpringBeanRouter as per the javadocs since I
> cannot use
> SpringRouter if I use spring prototype beans for attachements acc to
> this
> http://n2.nabble.com/Unable-to-inject-Protoype-beans-into-a-singleton-bea
Rhett,
Spring context loaded in web.xml (tomcat) via context params
restletServlet
org.restlet.ext.spring.SpringServerServlet
restletServlet
/ws/*
/mock/*
Comma separated list of Spring context configuratio
Hi Infinity,
On Oct 5, 2009, at 11:25 AM, infinity wrote:
> Rhett,
>
> Spring context loaded in web.xml (tomcat) via context params
>
>
>
> restletServlet
> org.restlet.ext.spring.SpringServerServlet class>
>
>
> restletServlet
> /ws/*
> /mock/*
>
Hi Rhett,
Rhett Sutphin wrote:
>
> This mapping combined with the URIs in your resource beans means that
> your server should respond to
>
> http://servername:port/ws/ws/contact/{operation}
> http://servername:port/ws/mock/1/data/Contact/{userId}
> http://servername:port/mock/ws/contact/{oper
Hi,
On Oct 5, 2009, at 12:03 PM, infinity wrote:
> Hi Rhett,
>
>
> Rhett Sutphin wrote:
>>
>> This mapping combined with the URIs in your resource beans means that
>> your server should respond to
>>
>> http://servername:port/ws/ws/contact/{operation}
>> http://servername:port/ws/mock/1/data/Cont
I'm using 2.0M4, will try 2.0M5. Can you point out the file in which this bug
was fixed so that I could test in the interim?
(I'm using Nabble and I assume the "reply" does go the mailing list)
Rhett Sutphin wrote:
>
> Hi,
>
> On Oct 5, 2009, at 12:03 PM, infinity wrote:
>
>> Hi Rhett,
>>
>>
Works with 2.0M5. Thanks
Pritam wrote:
>
> I'm using 2.0M4, will try 2.0M5. Can you point out the file in which this
> bug was fixed so that I could test in the interim?
>
> (I'm using Nabble and I assume the "reply" does go the mailing list)
>
>
> Rhett Sutphin wrote:
>>
>> Hi,
>>
>> On Oc
Hello,
I am looking for an example for using the TemplateFilter class of freemarker
extension. If someone has a such example, it will great for me
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2403949
I had the same problem. We actually ended up using the GWT request builder
instead, and created new Methods for it (PUT and DELETE) to use with our
Restlet on the server.
-Original Message-
From: webp...@tigris.org [mailto:webp...@tigris.org]
Sent: Monday, 5 October 2009 8:25 PM
To: disc
I am sure I only understand the bare minimum of setting up a Server with
ServerResources, etc. The doc that gets into this mostly is in Finder from what
I have seen. i.e. there's not much in Server that indicates how the Class
constructor argument will be used. The tutorial makes clear it can be
Hello Jerome,
I seem to be experiencing the same behavior that is described in this post
while using 2.0m5. Is this expected? Based on the changelogs it seems like
this should be corrected. Perhaps this is a slightly different scenario. I
have a ServerResource (source code below) where the
Hi,
I'm using Restlet 2.0 M5, and also tried with the Restlet 2.0 snapshot and
I've the same problem, Firebug shows that it calls the OPTIONS method instead
of POST when using compiled mode in Firefox. Any ideas? This should be fixed on
M5?
Thanks!
--
Hello all !
We are using Restlet in our product.
Thank you very match for excellent framework!
But lately we met one distasteful problem.
Our environment:
-
OS: RHEL 5 (x86 or x86-64 platform);
JVM: Oracle BEA JRockit 1.6 and SUN JDK 1.6.0_14;
AppServer: JBoss-4.2
19 matches
Mail list logo