Resolve to Resources inside another Resource

2009-07-20 Thread webpost
Hi all, I'm evaluating restlet and have sort of a beginner question, but was unable to find the answer here or in the documentation. Suppose I want to add a resource via a POST of the following XML to the URL http://.../items item titleSome title/title userhttp:///user/21 /item It's

Problem configuring spring ext in 2.0M3

2009-07-20 Thread webpost
Hello, I am trying to use RestletFrameworkServlet with 2.0M3 and have not been able to get anything other than 404. The servlet mapping works fine, but neither SpringRouter nor SpringBeanRouter has worked for me. My latest spring config is here: http://pastie.org/550641 I was debugging using

Re: Receive a multipart HTTP response

2009-07-20 Thread Evgeny Shepelyuk
Let me give more details. 1. we don't need parse multipart file upload. 2. we need to read long time multipart HTTP response item by item 3. i think FileUpload extension will work only after complete read of input stream. but in our case the request is never finished and the items should be read

RE: Re: REST in mobiles

2009-07-20 Thread feda abdul
But I tried to run the simple hello World on mobile but I got problem that is getrVariants.add(new Variant MediaType.TEXT_PLAIN)) is not supported by J2me! How can I solve this problem --

RE: Restlet SSL and Weblogic (even tomcat would help)

2009-07-20 Thread webpost
Hi Bruno, Thanks for the quick response. You comments have spawned some ideas! Although I won't get to try anything else for a few days (I'm being pulled in several different directions by the management!!), I will get back to it next week and keep the thread informed of my progress. I

Setting custom HTTP headers and ATOM feeds

2009-07-20 Thread Dyaa Albakour
Dear all, I am trying to use a Restlet HTTP client to connect to the Azure Storage service. Restlet seems to be the best options as it implements the Micosoft shared key authentication scheme. However I got stuck for two reasons. Restlet doesn't allow you to add custom HTTP request headers

Addition Function

2009-07-20 Thread feda abdul
How to implement a simple web service that performs simple calculation such as taking two integers from the client, sum them and sending back the result.Thanks in advance. --

Re: Guidance on Atom/APP in Restlet

2009-07-20 Thread Tim Peierls
Thanks, Dave. I was going to ask about hAtom, templating engines, and JSON in follow-up questions, but now I don't need to! --tim On Fri, Jul 17, 2009 at 6:16 PM, David Bordoley bordo...@gmail.com wrote: One way I've worked with Atom services within Restlet is to use freemarker templates to

Re: Restlet SSL and Weblogic (even tomcat would help)

2009-07-20 Thread Bruno Harbulot
Hi Andy, webp...@tigris.org wrote: When I started this as a Java application, I didn't need any other relavent configuration, no web.xml. I don't really understand how but somehow this starts up a Jetty Container. I am told (please correct if I am wrong) that somewhere in

Re: Receive a multipart HTTP response

2009-07-20 Thread David Bordoley
On Fri, Jul 17, 2009 at 12:02 PM, Evgeny Shepelyukeshepel...@gmail.com wrote: 2. we need to read long time multipart HTTP response item by item 3. i think FileUpload extension will work only after complete read of input stream. but in our case the request is never finished and the items should

RE: GAE + GWT + Restlet 2.0 M3 + challenge response is null on server side

2009-07-20 Thread Jerome Louvel
Hi Lauri, Your GWT client looks OK to me and I'm surprised that you don't get the expected result. Where you able to solve this? Otherwise, we are planning to release Restlet 2.0 M4 by the end of the month which will include a fresh (automated) port of the Restlet core to GWT. I suggest that you

RE: Jetty integration

2009-07-20 Thread Jerome Louvel
Hi Tony, Do you have the org.restlet.ext.jetty.jar and all its dependencies (see the lib/readme.txt file) in your classpath? If so, it should be detected by the engine and used instead of the internal HTTP server. There is really nothing much to do... Which version of Restlet are you using? Best

RE: Mysterious message in client

2009-07-20 Thread Jerome Louvel
Hi Philip, Restlet logger names should all start with org.restlet as explain on this page: http://wiki.restlet.org/docs_1.1/13-restlet/48-restlet/101-restlet.html To debug this more precisely, you can invoke this static method at the beginning of your program:

Re: Wikipedia Restlet entry

2009-07-20 Thread Aron Roberts
In the message Wikipedia Restlet entry, dated 2009-07-20, Rob Heittman wrote: Stumbled across this: http://en.wikipedia.org/wiki/Restlethttp://en.wikipedia.org/wiki/Restlet Currently on probation for not meeting notability standards. Anybody else (Jerome, Thierry) want to volunteer with me to

RE: Issues loading css files (from a Directory) using Firefox

2009-07-20 Thread Jerome Louvel
Hi Bruce, Thanks for the feed-back! I went further and made the CharacterSet class smarter: it now maps “MacRoman” to the preferred IANA’s name (“macintosh”). I would be nice if you could test again with the next snapshot or the upcoming 2.0 M4 to confirm it fixes your issue. Best