Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-26 Thread David Fogel
I posted the following to the restlet.tigris.org issue tracker, but there's a notice on tigris that it's going down for service starting tonight for 20 hours, so I figure I'd repost my message here, in case anyone wants a totally-no-guarantees patch for the cookie issue. Obviously the best thing to

Re: Multiple cookie bug (2.0RC1 and snapshot)

2010-03-26 Thread David Fogel
Hi folks. So, we've been bit by this cookie problem as well. After diving into the debugger for a couple of hours I think I've pinpointed exactly where cookie reading is failing. >From what I can tell, the problem isn't that request.getCookies() is returning only the first cookie, it's that it's

Re: XML mapper for GWT

2010-03-26 Thread Rob Heittman
This is really fantastic, Harald! We're undergoing a major update of two of our GXT and Restlet powered projects, and I suspect this is just what the doctor ordered. If r6416 fixed my cookie bug (and I think it did, thanks Thierry) I can move on to having a look at this. I'm super excited! - Ro

Re: Re: Re: Suspended thread doing Client.put

2010-03-26 Thread David Fogel
Hi Thierry- After switching to the HttpClient extension, the problem POST now works. The service we're posting to is a sort of openID sign-in aggregation service called rpxnow.com . (Basically they've done a bunch of integrations with sign-in providers like google, yahoo, twitter, facebook, et

Re: HTTPS / SSL not working after updating to trunk

2010-03-26 Thread Tal Liron
I've been following this with interest, though haven't had time to look at it... Thanks for the excellent debugging, David and Bruno! On 03/26/2010 09:16 AM, Bruno Harbulot wrote: > Hi Dave, > > On 25/03/2010 21:47, David Fogel wrote: >> Hi Bruno- >> >> So, I got Jetty working as the connector, a

RE: Re: HTTPS / SSL not working after updating to trunk

2010-03-26 Thread Thierry Boileau
Hi all, thanks Bruno for your efficient work!! http://sourceforge.net/mailarchive/forum.php?thread_name=838C9014F7E13841B1F711C5DC2B42F3327B566C%40LONMC01032.rbsres07.net&forum_name=simpleweb-support Best regards, Thierry Boileau -- http://re

RE: Redirector.MODE_SERVER_OUTBOUND broken in snapshot

2010-03-26 Thread Thierry Boileau
Hi Guido, I've updated the svn repository (and tested the fix with Jett and Grizzly...). Thanks again. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2465501

Re: HTTPS / SSL not working after updating to trunk

2010-03-26 Thread Bruno Harbulot
Hi Dave, On 25/03/2010 21:47, David Fogel wrote: > Hi Bruno- > > So, I got Jetty working as the connector, and yes, it does seem to > work fine with our previously discussed HTTPS configuration. So that > can hold us for now, but we do eventually want to use the Simple > connector. > > Incidental

RE: Redirector.MODE_SERVER_OUTBOUND broken in snapshot

2010-03-26 Thread weltermann17
Hello Thierry, thanks for this quick response. I just tested with the latest snapshot and yes, when using the default http connector it works now. But when switching to Jetty there is still a stack overflow: INFO: Redirecting via client dispatcher to: http://10.128.60.177:8085/corporatedirectorywe

RE: XML mapper for GWT

2010-03-26 Thread Jerome Louvel
Hi Harald, Awesome!! Piriti is really on a sweet spot :) We will definitely redistribute it with Restlet/GWT 2.1 and will work with you to hook it onto our client proxy generator as we discussed previously. I need to find time to play with it, but from what I see, it looks very clean and usable

RE: XML mapper for GWT

2010-03-26 Thread Harald Pehl
Hi Jerome, I'm pleased to announce Piriti 0.3.1. Piriti now supports mapping both JSON and XML data. Here are some of the features: - Built-in support for many types (primitives, String, Date, Enums, ..) - Possibility to specify date and number formats - Support for mapping arrays and

RE: Exchanging XML representations between a ClientResource and a ServerResource: Method not allowed (405) problems

2010-03-26 Thread Thierry Boileau
Hello Geoff, I think this has been fixed in the current snapshot. I've just tried and it works for me. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2465387

RE: Re: Re: Suspended thread doing Client.put

2010-03-26 Thread Thierry Boileau
Hello David, Could you send the characteristics of the remote server, if possible? As a workaround, you can still use the other client connectors (net, httpclient). If it works with them, we're quite interested in the headers of both request and response. >Incidentally, this was a bit of a pai

RE: Redirector.MODE_SERVER_OUTBOUND broken in snapshot

2010-03-26 Thread Thierry Boileau
Hello Guido, thanks a lot for your report, the fix is available in the svn repository. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2465373

Redirector.MODE_SERVER_OUTBOUND broken in snapshot

2010-03-26 Thread weltermann17
Hello, in the current snapshot (20100325) Redirector.MODE_SERVER_OUTBOUND seems to be broken. To reproduce it I modified example Part10 to use this mode, added HTTP to the component's client protocols and switched the target to an internal server to avoid proxy issues. With any server I tried I re

RE: Header Related Information

2010-03-26 Thread Thierry Boileau
Hello Faiz, the first line of a request or a response is not a header. This is described in the HTTP RFC as a request-line for a request or a status-line for a response. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage

Header Related Information

2010-03-26 Thread Faaiz
Hi All, I have some question related to Header. Please see the code below for test client final org.restlet.data.Response response = client.get(itemsUri); System.out.println(response.getStatus().toString()); Series headers = (Serie