OPTIONS instead of POST on GWT

2009-10-05 Thread webpost
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

Re: Unable to inject Protoype beans into a singleton bean via value-ref for a Spring Router

2009-10-05 Thread Rhett Sutphin
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

Re: Unable to setup SpringBeanRouter configure

2009-10-05 Thread Rhett Sutphin
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

Re: Unable to setup SpringBeanRouter configure

2009-10-05 Thread infinity
Rhett, Spring context loaded in web.xml (tomcat) via context params !-- Restlet support (default servlet) -- servlet servlet-namerestletServlet/servlet-name servlet-classorg.restlet.ext.spring.SpringServerServlet/servlet-class /servlet servlet-mapping

Re: Unable to setup SpringBeanRouter configure

2009-10-05 Thread Rhett Sutphin
Hi Infinity, On Oct 5, 2009, at 11:25 AM, infinity wrote: Rhett, Spring context loaded in web.xml (tomcat) via context params !-- Restlet support (default servlet) -- servlet servlet-namerestletServlet/servlet-name

Re: Unable to setup SpringBeanRouter configure

2009-10-05 Thread infinity
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, Rhett

Re: Unable to setup SpringBeanRouter configure

2009-10-05 Thread infinity
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 Oct 5, 2009, at