Re: Unable to set Reason Phrase on successful request using Jetty

2010-06-09 Thread Bruno Harbulot
Hi Michael, On 07/06/10 15:41, Michael Rehse wrote: > Using Restlet 1.1.10 and the Jetty connector (com.noelios.restlet.ext.jetty > 1.1.10) deployed as a standalone application, if I set the status to "200 > Foo" the response comes back as "200 OK". > > This is not the expected behavior - is it? >

Re: Restlet 2 example using Freemarker

2010-06-09 Thread Fabian Mandelbaum
Hello Nitya, I don't know if this is the "right design approach" for Freemarker, but we're using it without problems to build HTML and WebDAV XML representations of some of our resources: @Get("html") public Representation toHTML() throws ResourceException { if (!SUSecurityManager

Re: java client code to https service under tomcat

2010-06-09 Thread Bruno Harbulot
On 08/06/10 16:19, p Nut wrote: > Thanks for your reply bruno. > > One thing i didnt mention in my earlier post was that my client app runs as a > portlet under liferay portal framework. So I am looking into the possibility > of liferay messing things up, but i doubt it. > > I have tried your cod

Re: cookie setting with safari browser

2010-06-09 Thread pegpeg
hi all, well sorry the code I've published doesn't work in all cases... apparently for Firefox /Windows the cookie is not sent/accepted on the client Peg -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/cookie-setting-with-safari-browser-tp4271441p5157640.html

Re: Delete error

2010-06-09 Thread AB
Hi Jerome, I need some direction on this... Q. In my GWT client, I need to call a rest service that is on another external server and the URL is something like : http://extServer/CallProgram The Request object is 111-222- 777-888- The response is an xml that just returns a

RE: Re: java client code to https service under tomcat

2010-06-09 Thread p Nut
Thanks for your reply bruno. One thing i didnt mention in my earlier post was that my client app runs as a portlet under liferay portal framework. So I am looking into the possibility of liferay messing things up, but i doubt it. I have tried your code in standalone java application and I get

Restlet 2 example using Freemarker

2010-06-09 Thread Nitya
Hi, Does anyone have (and can share) a simple sample of how Freemarker templates are configured and used in the Restlet 2 platform? Most web pages on this topic refer to the Javadoc or have samples for 1.1 which may not fit the bill Any pointers would be deeply appreciated, particularly if they s

Set query params to a ClientResource GET

2010-06-09 Thread Alejandro Raiczyk
Hi, I'm new to restlet and I'm trying to set query params to a ClientResource GET. I don't know how to do this, I've been searching in the mailing lists without any luck. Is this even possible? I have this class: public class TracesResourceTest extends TestCase { private static final Logger

RE: client-side parsing of XML in GWT

2010-06-09 Thread Harald Pehl
Hi Allen, unfortunalty Piriti doesn't support namesspaces in the current version (0.3.4). This is due the lack of namespace support in the gwtxpath library which I use to parse the XPath expression. I'm currently evaluating other libs for XPath parsing and hope to release a new version with nam

Re: How to process policy file request

2010-06-09 Thread Louis Huh
Currently, I'm using tunnel service for put delete method request. I've removed "as3httpclientlib.swc" library. Now the client request "GET /crossdomain.xml". It's not the problem anymore. Thanks anyway ^^ -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/How-to