Thanks, Jerome. After my first posting, I was able to experiment and
resolve this (using 2.0m3). One thing that slowed me down is that my
IDE automatically created a couple of imports for Server and another
class I no longer remember that were not Restlet classes. I also
didn't understand that h
1. FileUpload doesn't support multipart/mixed
2. I need HTTP not XMPP
3. Seems restlet don't have any support for parsing multipart/mixed response
4. The problem can be solved with MimePull from Glasshfish or any
similar library. Probably mime4j from James project.
On Mon, Jul 20, 2009 at 7:39 P
Hi Tim,
The biggest APP user I know is Google, with practically all of its API
using the Google Data (GData) protocol. It's basically a extended
version of APP, most due to practicality reasons prevailing over
idealistic (i.e. "pure" APP).
GData puts some extensive stress testing on APP, i.e. Usi
Hi Schley,
Could you send us your project (or a snippet reproducing the issue) and
Restlet environment details (version, OS, etc.)? It should definitely work.
BTW, I suggest that you use more meaningful email title when you post,
easier for tracking and searching in the archives.
Best regards,
J
Hi Marcelo,
Looking at the code in Engine#registerHelper, it appears that the class
instantiation is protected by a try/catch block for Exception. It should
catch the classnotfound exception, log it and continue with the next helper
declared in the 'META-INF/services/org.restlet.engine.ServerHelpe
Hi Abdul,
Restlet only works with Android on mobile phones, not J2ME.
One way to make a phone acts as a Web server is to send request as special
SMS messages. See related RFE:
"Add SMS server for Android"
http://restlet.tigris.org/issues/show_bug.cgi?id=828
Best regards,
Jerome Louvel
--
Restle
Hi Abdul,
I suggest that you start with the first steps tutorial:
http://www.restlet.org/documentation/2.0/firstSteps
Adjusting it to do some computation should be trivial.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-foun
Hi Evgeny,
Restlet doesnt have built-in support for multipart representation yet. This
is planned however:
Support composite representations
http://restlet.tigris.org/issues/show_bug.cgi?id=71
However, it is possible to parse progressively with the Restlet FileUpload
extension. See
Hi Henry,
I was about to answer the same thing. In addition to Google, Microsoft is
making a heavy use of Atom as well in its ADO.NET Data Services (ex-Astoria)
technology:
"Overview: ADO.NET Data Services"
http://msdn.microsoft.com/en-us/data/bb931106.aspx?ppud=4
However, for communication with
Hello !
I've tried to use commons-fileupload and it's not parsing
multipart/x-mixed-replace content type.
I tried both directly with commons-fileupload and with restlet extension.
Commons-fileupload supports only multipart/form-data and correponding RFC
1867.
All others ain't supported accor
Hi guys,
Thanks for updating this entry. Ive been reluctant to touch it so far, as I
think it should provide a neutral presentation of Restlet. So, it would be
better if the Restlet users could maintain it.
However, Ill be happy to read and comment. For example, I noticed that the
new EPL
Ok, thanks for the clarification. I probably read the thread a little too fast
:)
I've updated the RFE to mention the MimePull project. Good pointer!
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelio
Hi WoodHack,
This book project with Apress is now longer and should have been removed from
Amazon for a while...
Currently, we are actively working on a "Restlet in Action" book project for
Manning. We will post updates in our blog (http://blog.noelios.com) and in this
list when available!
St
Hi Robert,
Did you try to switch off the extension processing in the TunnelService? Use
TunnelService#setExtensionsTunnel(false).
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message
Hi there,
Have a look at org.restlet.data.Request#getChallengeResponse() or
ServerResource#getChallengeResponse().
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
Hi Laurent,
Which version of Restlet 2.0 are you using? If it is Restlet 2.0 M3, it has
a few annoying issues in this exact area. In this case, I suggest upgrading
to a recent snapshot (unstable release) until we release 2.0 M4 later this
month.
Best regards,
Jerome Louvel
--
Restlet ~ Founder an
Hi Dyaa,
Regarding the Atom issue, we have recently fixed them. I suggest trying
again with a Restlet 2.0 snapshot (unstable) until we release 2.0 M4.
Regarding the additional HTTP headers, it is possible to define them. See
this method on Request/Response:
http://www.restlet.org/documentation/2.
Hi Tal,
Could you send us a Zip of your test project so we can debug?
Of the three option, only @Get("xml") is valid. It should expose both
"text/xml" and "application/xml" variants automatically. The logic you added
in doInit() shouldn't be necessary.
See the attached sample code which works f
I agree you should avoid it, they get grumpy about that. Anyone know of any
Restlet coverage in main stream media or other citable support for
notability?
On Tue, Jul 21, 2009 at 4:47 AM, Jerome Louvel wrote:
> Hi guys,
>
>
>
> Thanks for updating this entry. I’ve been reluctant to touch it so
Thanks -- I was particularly interested in the Google Calendar Data API, but
I'd be rolling my own implementation, right?
--tim
On Mon, Jul 20, 2009 at 11:53 AM, Hendy Irawan wrote:
> Hi Tim,
>
> The biggest APP user I know is Google, with practically all of its API
> using the Google Data (GDat
Rob,
Sounds like a good approach indeed.
To answer your question about press coverage, here are two pointers from InfoQ:
http://www.infoq.com/restlet
Two from eWeek:
http://www.eweek.com/c/a/Application-Development/Restlet-Engine-Reaches-10/
http://www.eweek.com/c/a/Application-Deve
On Tue, Jul 21, 2009 at 4:39 AM, Jerome Louvel wrote:
> However, for communication with GWT, it is indeed a better idea to rely on
> JSON. I have also been working on reusing the 'transparent' serialization
> of
> beans between Restlet/Server and Restlet/GWT. This serialization is used in
> GWT-RP
Do the Java Client libraries for the Google Data APIs run under GWT? I can't
find any indication one way or the other.
It'd be cool if they did, though.
--tim
On Tue, Jul 21, 2009 at 8:29 AM, Tim Peierls wrote:
> Thanks -- I was particularly interested in the Google Calendar Data API,
> but I'd
Thanks, that was helpful to make a start.
On Tue, Jul 21, 2009 at 8:41 AM, Jerome Louvel wrote:
> Rob,
>
>
>
> Sounds like a good approach indeed.
>
>
>
> To answer your question about press coverage, here are two pointers from
> InfoQ:
>
> http://www.infoq.com/restlet
>
>
>
> Two from eWeek:
>
How is this possible?
I'm using Apache HTTPClient to make a POST request, but at my resource are no
parameters set (else the one parsed into the url).
Isn't it possible to make a POST request without using Restlet and putting the
post object into a Representation object?
I'm using 2.0-M3.
Than
How is this possible?
I'm using Apache HTTPClient to make a POST request, but at my resource are no
parameters set (else the one parsed into the url).
Isn't it possible to make a POST request without using Restlet and putting the
post object into a Representation object?
I'm using 2.0-M3.
Than
If anyone else has this problem, I got SpringBeanRouter working by making my
own subclass, like so: http://pastie.org/553359
I guess this should really go into SpringBeanRouter and SpringBeanFinder, so if
the maintainers of the spring extension would like I can post a patch with some
unit tests
Hi Jerome,
Thanks for your reply. If i switch off extension processing, matching
urls together with extensions works well.
But the problem is that I have to do all of the functionality of the
ExtensionsTunnel by Hand.
So I need both the TunnelService as well as url patterns that match by
ext
Hi, Thank you for your response How about JSR300 and jersey does it work with
mobiles?
> Hi Abdul,
>
> Restlet only works with Android on mobile phones, not J2ME.
>
> One way to make a phone acts as a Web server is to send request as special
> SMS messages. See related RFE:
>
> "Add SMS server
Parameters as in URL?param1=value1¶m2=value2&... ?
If so, you need to do something like this on your resource's doInit() method:
Form query = getRequest().getResourceRef().getQueryAsForm();
String value1 = query.getFirstValue("param1");
String value2 = query.getFirstValue("param2");
I hope to ha
Hi Ryan,
On Jul 21, 2009, at 8:33 AM, webp...@tigris.org wrote:
> If anyone else has this problem, I got SpringBeanRouter working by
> making my own subclass, like so: http://pastie.org/553359
>
> I guess this should really go into SpringBeanRouter and
> SpringBeanFinder, so if the maintainer
On Tue, Jul 21, 2009 at 6:08 AM, Tim Peierls wrote:
> Hmm, the wind is going out of my sails. I started by recognizing that
> AtomPub seemed to be a natural fit for my domain, and now I'm looking at
> JSON/serialized beans and "optional" plain Atom feeds. (Optional in the
> sense that my main appli
32 matches
Mail list logo