RE: New user trying to understand database methodology.

2010-11-28 Thread Thierry Boileau
r frameworks (Spring I guess). Best regards, Thierry Boileau [1] http://www.restlet.org/documentation/2.1/jse/api/org/restlet/resource/UniformResource.html -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2686238

RE: GWT Serialization problem

2010-11-28 Thread Thierry Boileau
ctory Restlet inside a standalone application, or inside a servlet container. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2686248

RE: Gwt with Restlet 2.1

2010-11-28 Thread Thierry Boileau
Hello, I send you a full sample application based on Restlet 2.1 (current trunk). Some bugs have been fixed in the 2.1 trunk which may explains your problems. Once a new 2.1 branch will be created in the wiki, the sample code will be updated. Best regards, Thierry Boileau

RE: Using GWT extension takes over the content negotiation!

2010-11-28 Thread Thierry Boileau
ation/xml" http://localhost:/rest/contacts/123 3 guitarhero road 123 Peter Frampton $> curl -H "Accept: application/x-java-serialized-object+gwt" http://localhost:/rest/contacts/123 //OK[4,3,2,1,["org.restlet.test.

Re: BufferOverflowException when response size exceeds 8192 bytes

2010-12-01 Thread Thierry Boileau
Hello Guido, that's an open question. The naming rule relies on the camelback syntax already chosen for the the connectors parameters (see http://www.restlet.org/documentation/2.0/jse/engine/org/restlet/engine/http/connector/BaseServerHelper.html, for instance). Best regards, Thierry Bo

RE: Re: ClientInfo.getPreferredMediaType and Internet Explorer

2010-12-01 Thread Thierry Boileau
ure it will fit your need, because it returns a metadata taken from the list of preferences (in your case "*/*"), not from the supported ones, which seems in contradiction with the javadocs... Jérôme, any thoughts? Best regards, Thierry Boileau -

RE: Setting routes in Resources

2010-12-01 Thread Thierry Boileau
guard, instead of the router "root". I hope this will help you. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2687092

RE: Post method not work when deployed to GAE

2010-12-02 Thread Thierry Boileau
Hello all, this should have been fixed in the current snapshot. Could you give it a try? http://www.restlet.org/downloads/unstable Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2687285

RE: gae edition deploy error

2010-12-08 Thread Thierry Boileau
Hello Bryan, it sounds like the GWT compilation process fails. What happens if you simply compiles the project? Do you have any other log traces? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447

RE: 2.0 series snapshots

2010-12-08 Thread Thierry Boileau
Hello Rhett, the snapshot has been reactivated last week. It contains recent snapshots. Having said that, it misses the artifacts tagged with the date. I check that. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do

RE: Re: 2.0 series snapshots

2010-12-08 Thread Thierry Boileau
sound irregular? Best regards, Thierry Boileau ps : the date corresponds to the last modification of the svn repository. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2688858

RE: gae edition deploy error

2010-12-08 Thread Thierry Boileau
=1217 Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2688902

Re: interesting problem with @Get content negotiation

2010-12-08 Thread Thierry Boileau
I've entered an issue for this bug as I don't see an existing one that corresponds : http://restlet.tigris.org/issues/show_bug.cgi?id=1218 Best regards, Thierry Boileau I have the following server resource: > > public class HelloResource extends ServerResource > { > @Get("

RE: NPE in the HttpClient Extension

2010-12-14 Thread Thierry Boileau
weird in the log? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2690678

RE: Maven indices not properly updated?

2010-12-14 Thread Thierry Boileau
Hello Fabian, could you send me your sample project, and log files? best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2690693

RE: 2.1 m1: Router not finding resources with "/" at the end

2010-12-15 Thread Thierry Boileau
oth Router and TemplateRoute classes. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2690990package routing; import java.util.logging.Level; import org.restlet.Request; import org.re

RE: 2.1 m1: Router not finding resources with "/" at the end

2010-12-15 Thread Thierry Boileau
Hello, one way of customization, is to specify (at "attach" time) that this route is a "directory route". Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2690991

RE: Question about redirect on example/book/rest/ch7

2010-12-15 Thread Thierry Boileau
se there is no route which uri template is "/users/{username}/bookmarks/"... You can set up your router as follow,and everything should work as expected: Router router = new Router(getContext()); router.setDefaultMatchingMode(Template.MODE_STARTS_WITH); Best regards, Thierry Boileau ps

RE: gae edition deploy error

2010-12-16 Thread Thierry Boileau
Hello Bryan, I've committed a fix in the svn repository. Could you get the snaphot and give it a try? http://www.restlet.org/downloads/2.0/ Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId

Re: *SPAM(1.4)* Wiki is down

2010-12-17 Thread Thierry Boileau
best, Thierry Boileau There is an Apache Cocoon error on the wiki.restlet.org site. Is this > expected downtime? > > Thanks, > Dustin > > > -- > > > Dustin N. Jenkins | Tel/Tél: 250.363.3101 | dustin.jenk...@nrc-cnrc.gc.ca > > facsimile/télécopieur: (250) 363-

restlet.org - server maintenance

2010-12-17 Thread Thierry Boileau
Hello all, I just warn you that the server will be down in a few minutes, for maintenance. It will be ok on monday, for sure, on sunday pretty sure also. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId

Re: GWT Client Logger error

2010-12-20 Thread Thierry Boileau
Hello Dustin, I've fixed it a few days later in the svn repository. The snapshot and maven repository will be updated in a one hour. Best regards, Thierry Boileau I'm using Restlet 2.0.3 JSE and GWT editions. > > There appears to be a known issue with regards to this error d

Re: GWT Client Logger error

2010-12-21 Thread Thierry Boileau
Hello Dustin, unfortunately, the 2.0.3 release does not contain the fix whereas the next release 2.0.4 will contain it. We can release the 2.0.4 tomorrow. Best regards, Thierry Boileau Thanks, Thierry. > > Just to be clear, the 2.0.3 version will have this fix once updated? > &g

Restlet 2.0.4 and 2.1m2 released

2010-12-24 Thread Thierry Boileau
Hello all, the versions 2.0.4 (stable) and 2.1 Milestone 2 (testing) of the Restlet Framework have been eleased [1]. We would like to thank all of you that have directly or indirectly contributed to these releases. Best regards, Thierry Boileau [1] http://blog.noelios.com/2010/12/24/restlet

RE: GWT-Restlet Error: java.io.IOException: Can

2011-01-06 Thread Thierry Boileau
e "gae" or "jee" editions of the framework. The "gwt" edition is a port of the framework for the GWT, that is to say, it's only a "client-side" library. Best regards, Thierry Boileau -- http://restlet.

Re: TypeUtils - argument type mismatch

2011-01-06 Thread Thierry Boileau
Hello Andreas, thanks for reporting this bug. I've updated the svn repository. The EDM Single type is now converted to Double Java type. Best regards, Thierry Boileau Hey Restlet developers, > > I am using your OData extension and I am having the problem that the values > of my

Re: Re: org.restlet.lib.org.json has malformed Maven data. Any plans to release it with valid metadata?

2011-01-06 Thread Thierry Boileau
Hello Romain, the maven artifacts will regenerated this evening. I'll keep you informed. Best regards, Thierry Boileau Hello > > I still have the same error with the version 2.0.4 > > If you could just replace in > http://maven.restlet.org/org/restlet/jse/org.rest

Re: Post method not work when deployed to GAE

2011-01-09 Thread Thierry Boileau
Hello, from what I notice, this has to do with chunked encoding and GAE. I keep on investigating this point. Best regards, Thierry Boileau Hello Thierry, > > I have installed and run your examples. They work well as expected. > > Though, there are big differences in the scenarios o

RE: Re: Post method not work when deployed to GAE

2011-01-09 Thread Thierry Boileau
onder if we can update this method in order to include someother header values such as "Content-type" for example (this header is sent via a POST, or PUT request). Jerome, what do you think about that? Best regards, Thierry Boileau -- htt

Re: Restlet + Clojure = Prudence: Talk in Chicago, December 15th

2011-01-10 Thread Thierry Boileau
Hello Tal, unfortunately, we won't be there as we are quite busy busy in France. Hope you will enjoy this meeting!! :) Best regards, Thierry Boileau This talk has been postponed to next Wednesday, Jan 19th. If you're in the > Chicago area and are interested in using Restlet with

RE: Incorrect status returned from ClientResource

2011-01-11 Thread Thierry Boileau
re : http://wiki.restlet.org/docs_2.1/13-restlet/37-restlet.html Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2697231

Re: Set cookies

2011-01-12 Thread Thierry Boileau
Hello all, I've just successfully tested it with the source given previously in this thread using the current code of the trunk and the 2.0 branch with Firefox, chrome and opera on ubuntu. Are you running your app on a servlet container? Best regards, Thierry Boileau I saw an entry simil

Re: Not getting Exception Message from Service (Resource) to Client.

2011-01-12 Thread Thierry Boileau
pplication() { super(); setStatusService(new TestStatusService()); } Best regards, Thierry Boileau Hi All, > > We are developing an application using Restlet. We are struggling with an > issue in our application. We are calling a rest service from client and we > a

Re: Re: org.restlet.lib.org.json has malformed Maven data. Any plans to release it with valid metadata?

2011-01-12 Thread Thierry Boileau
Hello Romain, the artifacts have been regenerated, do they fit your need? Best regards, Thierry Boileau Hello Romain, > > the maven artifacts will regenerated this evening. I'll keep you informed. > > Best regards, > Thierry Boileau > > > Hello >> >

Re: Request to servlet : parameter key/value

2011-01-12 Thread Thierry Boileau
andle json representations on the server side (using jackson, xstream, etc), and if you are using Restlet on server side, things get quite simpler. http://wiki.restlet.org/docs_2.1/13-restlet/303-restlet.html Best regards, Thierry Boileau Hi Hubert, > > > Representation rep = *new

Re: No represnetation entity behind guard

2011-01-12 Thread Thierry Boileau
Hello, what happens in your case? Could send some reproductible test case? Best regards, Thierry Boileau How do you find out where the entity is being consumed? I am having a > similar > problem but I have never used the entity myself, and i have no Guards only > Applications and Route

Re: GWT Put Request

2011-01-12 Thread Thierry Boileau
Hello Charlie, thanks for reporting this bug. The fix is now part of the svn repository (2.1 trunk and 2.0 branch). Best regards, Thierry Boileau On Thu, Dec 30, 2010 at 10:29 AM, Charlie Mason > wrote: > > Hi All, > > > > I am trying to get a put request working via th

RE: JSON Put request with String Representation

2011-01-12 Thread Thierry Boileau
Hello charlie, can you try to override the ServerResource#getVariants method? Best regards, Thierry boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2697595

RE: Issues in migrating to 2.1 M2

2011-01-12 Thread Thierry Boileau
on more stable connectors (net or httpclient for client, jetty simple for the server side), see this page for more details :http://wiki.restlet.org/docs_2.1/13-restlet/27-restlet/325-restlet/37-restlet.html Best regards, Thierry Boileau

Re: Using ClientResource inside ChallengeAuthenticator

2011-01-12 Thread Thierry Boileau
Hello, there is no ovious reason for avoiding you to issue any request from the Verifier class. You should see the same behaviour when issuing the same request in a standalone main method. What happens if you hit the resource directly? Best regards, Thierry Boileau Hi, > > We are

Re: What replaces GetEntityAsForm?

2011-01-12 Thread Thierry Boileau
mine routing perhaps). > What may happen is that the stream is read for logging, ar any other reason. Are you using a servlet container? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2697607

Re: Re: DomRepresentation.getNode(someXpath) returns null

2011-01-12 Thread Thierry Boileau
Hello, quite strange, I send a sample test code that works for me. Does it work for you to? best regards, Thierry Boileau DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory .newInstance(); DocumentBuilder documentBuilder

RE: GWT-Restlet Error: java.io.IOException: Can

2011-01-12 Thread Thierry Boileau
dependencies (should be something like gwt-servlet.jar). Just a few explanation : the gwt client and server exchanges representations based on a serialization format developped by google team. Best regards, Thierry Boileau -- http

Re: Post data results in unexpected 415

2011-01-15 Thread Thierry Boileau
Hello Bjorn, I think it has to do with the way you define the UserResource, and especially the way to handle the HTTP POST method. Could you tell us more about this? Are you using the "@POST" annotation? What Restlet extensions have you added to your classpath? Best regards, Thierry Bo

Re: Connection: close problem with internal Server

2011-01-15 Thread Thierry Boileau
Hello Johannes, I've completed the issue 1191 ( http://restlet.tigris.org/issues/show_bug.cgi?id=1191). As a workaround, you can use other server connectors (jetty or simple). Best regards, Thierry Boileau Hi, > > I came across an interesting error > > If you just deploy a s

Re: If POST is first method connection is not established

2011-01-15 Thread Thierry Boileau
also served by the internal HTTP connector which also hosts a set of GWT pages. The first application sends requests to the second one using the client extension based on the Apache httpclient libray. Am I right? I've tried this configuration, and it works well for me. Best regards, Thierry B

RE: downloaded restlet-jee-2.0.4 seems to be missing

2011-01-15 Thread Thierry Boileau
Hello Randy, you are missing the "gwt-servlet.jar" archive (you can find it by creating eclipse GWT project). That's a good point, because as an exception, this library is not delivered by the several distributions of Restlet. We'll discuss with Jérôme this point. Best rega

Re: gwt-2.1snap: org/restlet/client/engine/io/Drainer.java imports java.nio

2011-01-15 Thread Thierry Boileau
Hello Guido, thanks a lot for reporting this issue. I've updated the svn repository. Best regards, Thierry Boileau Hello, > > just in case nobody noticed yet: > > The gwt-2.1snap contains a Drainer.java that cannot be compiled by gwt due > to an import of java.nio. > g

Re: class not found exception android 2.0.3

2011-01-15 Thread Thierry Boileau
Hello Chris, is this error systematic? I've just tried (with the current code of the 2.0 branch), and get no such error message. Best regards, Thierry Boileau I've received a strange crash report from an android device using restlet > 2.0.3 for android. > It looks like th

Re: restlet-gwt serialization performance

2011-01-20 Thread Thierry Boileau
tp://code.google.com/intl/fr/chrome/chromeframe/. Best regards, Thierry Boileau Hello, > > I encounter problem of performance in the serialization of an object by > restlet-gwt : the json version takes 24ms whereas the gwt version takes 18s > ... > > ON THE CLIENT SIDE : > > /

RE: Jackson exception

2011-01-20 Thread Thierry Boileau
f Jackson. I'll keep you informed. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2699263

RE: Jackson exception

2011-01-20 Thread Thierry Boileau
, what release of Restlet are you using? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2699272

Re: Re: restlet-gwt serialization performance

2011-01-20 Thread Thierry Boileau
Hello Ben, How many objects are listed in the Operations structure? Could you perhaps send a sample test case? Best regards, Thierry Boileau Hello, thank's for the quick answer ! > I tried with IE, FF and Chrome. The result is the same. > I profiled the client with the Chrome p

Re: NoSuchMethodException in HTTPClientConnector?

2011-01-23 Thread Thierry Boileau
ork from several releases which can explain the mix. Can you confirm that? Best regards, Thierry Boileau hi, > > something went very wrong... > > I try to connect to a restlet inside a Wicket application (if you don't > know wicket: it is a web framework based on the Java Servlet

Re: Again: gwt2.1-snapshot references java.nio.ByteBuffer (IoBuffer.java)

2011-01-23 Thread Thierry Boileau
e JDK. I've entered an issue for that: http://restlet.tigris.org/issues/show_bug.cgi?id=1231. Best regards, Thierry Boileau Hi, > > again the current gwt 2.1snapshot references java.nio. > > Guido Schmidt. > > [INFO] --- gwt-maven-plugin:2.1.0-1:compile (default) @ GEP

Re: NoSuchMethodException in HTTPClientConnector?

2011-01-25 Thread Thierry Boileau
Hello Alexander, humm, there is a 2.0.4 release of the Restlet framework : http://maven.restlet.org/org/restlet/jse/org.restlet/2.0.4/ http://maven.restlet.org/org/restlet/jse/org.restlet.ext.jetty/2.0.4/ Best regards, Thierry Boileau I've tried with the simple connector and got the

Re: Re: Post data results in unexpected 415

2011-01-25 Thread Thierry Boileau
[1]) simply put in the classpath of the application (with their dependencies).For example the "org.restlet.ext.json" extension allows to generate on-the-fly json representation of Java bean. So, I wonder what kind of extensions are you using for your application? Best regards, Thierry

RE: Google AppEngine and Android problems

2011-02-05 Thread Thierry Boileau
Hello all, after some tests, it seems that the gae service does not support chunked requests anymore. We are gathering some data about this topic. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447

RE: V2. RC.3 : java.lang.NoSuchMethodError when POSTing xml

2011-02-07 Thread Thierry Boileau
Hello, could you describe what are your needs? That is to says, the kind of Restlet extensions you need. Then, in each distribution, you can have a look at the "/lib/readme.txt" file. it lists extensions and their dependencies. Best regards, Thier

RE: Problem using android 2.0.4 and apache http client with HTTPS

2011-02-08 Thread Thierry Boileau
;From what I notice in the source code hosted in svn, the https protocol >support has been removed espcially for the android platform. I don't remember >clearly why, but I'll investigate (tomorrow). Best regards, Thierry Boileau --

Re: The protocol used by this request is not declared in the list of client connectors. (FILE)

2011-02-09 Thread Thierry Boileau
Router router = new Router(getContext()); // Serve the files generated by the GWT compilation step. Directory dir = new Directory(getContext(),LocalReference.createClapReference(LocalReference.CLAP_CLASS, "")); router.attachDefault(dir); router.attach("/contacts

Re: how to get an init-param from web.xml

2011-02-09 Thread Thierry Boileau
).getFirst("defaultGatewayID"); This context is transferred to the resource, so the samecode works also in your resource. Best regards, Thierry Boileau hello, > I my web.xml i have the following: > > AppServlet > > org.restlet.ext.servlet.ServerServlet >

Re: RouteList.add() doesn't accept TemplateRoute, only the now deprecated Route

2011-02-09 Thread Thierry Boileau
change the API of the 2.0 stable release. I hope this is not too bad for you, we are still open and listening to your remarks. Thanks a lot for your dedication and support, Thierry Boileau Hello there, > > I'm using Restlet 2.0.4 JSE, and am trying to modify my application > rout

Re: Suggestion: modify (B|N)ioUtils.getChannel|Stream|Reader

2011-02-09 Thread Thierry Boileau
Hello Guido, A new RFE has been entered in order to handle your welcomed suggestion : http://restlet.tigris.org/issues/show_bug.cgi?id=1236. Thansk for your help. Best regards, Thierry Boileau Hi, > the methods mentioned above in 2.1snapshot-jse all use a similar approach: > An extra thr

Restlet 2.0.5 released

2011-02-10 Thread Thierry Boileau
Hello all, the version 2.0.5 of the Restlet Framework has been released. The list of fixed bugs is available here: http://www.restlet.org/documentation/2.0/jse/changes Best regards, Thierry Boileau -- http://restlet.tigris.org/ds

Re: Restlet 2.0.5 released

2011-02-10 Thread Thierry Boileau
Hello all, thanks John for reporting this, it is now fixed. Best regards, Thierry Boileau I tried to download it and it gave me a 404 not found error. > > John > > --- On *Thu, 2/10/11, Thierry Boileau *wrote: > > > From: Thierry Boileau > Subject: Restlet 2.0.

Re: Possible to perform Client Request on GAE?

2011-02-13 Thread Thierry Boileau
regards, Thierry Boileau Trying to make a client request on my GAE app to another server. I keep > getting this notice: > > The protocol used by this request is not declared in the list of client > connectors. (HTTP/1.1) > > > when I make the following call:

RE: Validator being bypassed?

2011-02-13 Thread Thierry Boileau
ndle(Request request, Response response) { int i = super.beforeHandle(request, response); if(response.getStatus().isError()){ return Filter.STOP; } return i; } }; Best regards, Thierry Boileau -- http://restlet.tigris.o

Re: Using REST service with GeoServer

2011-02-13 Thread Thierry Boileau
Hello, we are not sure to understand your question. It seems that it does not target the right forum I have downloaded and installed 2.1-RC1 which shipped with > RESTconfig. How can i check whether REST service is installed with > GeoServer > or Not ? > > I put this "http://localhost:8080/geos

Re: Using REST service with GeoServer

2011-02-13 Thread Thierry Boileau
Oops, the mail wen to fast. we are not sure to understand your question. It seems that it does not target the right forum since it is about GeoServer: http://geoserver.org/display/GEOS/Mailing+Lists Best regards, Thierry Boileau > > I have downloaded and installed 2.1-RC1 which shippe

RE: simple java application doesn

2011-02-13 Thread Thierry Boileau
tate" (but still exists), which is quite odd. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2703731

Re: Server to Server Communication

2011-02-13 Thread Thierry Boileau
Hello Michael, does your code work in development environment, but when deployed in GAE? In this case, you may encounter this problem: http://restlet.tigris.org/issues/show_bug.cgi?id=1219 Best regards, Thierry Boileau I would like to post a Java Object to a RestletResource from a JavaClient

RE: simple java application doesn

2011-02-13 Thread Thierry Boileau
Hello, you can also use the wrapped ClientResource as follow, instead of using the callback mode: Report report = resource.generate(); Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessa

RE: Need noob help

2011-02-14 Thread Thierry Boileau
Hello Scott, if you need some help inline, you can have a look at the user guide: http://wiki.restlet.org/docs_2.0/318-restlet.html Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704005

RE: Re: catching parse exception using converter service

2011-02-14 Thread Thierry Boileau
8 Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704007

Re: Is Restlet application distributed ?

2011-02-15 Thread Thierry Boileau
Hello Komara, you can find documentation in the user guide at this page ( http://wiki.restlet.org/docs_2.0/326-restlet.html). In your case, you can use a dedicated "Redirector" Restlet ( http://www.restlet.org/documentation/2.0/jse/api/org/restlet/routing/Redirector.html ). Best regard

Re: ClientResource without error? (Restlet 2.0.5)

2011-02-16 Thread Thierry Boileau
er of 2011 http://www.restlet.org/about/roadmap)? As a workaround, you can still override the ClientResource code and adapt the current behaviour Best regards, Thierry Boileau I'd like to make a ClientResource.get call and get back the status, no > matter what it is. > The lowest leve

RE: Proxying with Redirector

2011-02-16 Thread Thierry Boileau
E_HEADERS)); } }; component.getServers().add(server); Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704838

Re: Redirecting from a dynamic service to a static page

2011-02-16 Thread Thierry Boileau
can use the "WAR" connector (shipped with the org.restlet.ext.servlet extension, no need to declare it), and issue calls like "war:///path/to/my/file" I hope I answer your questions. Best regards, Thierry Boileau > I have an application that runs, not continuously but as a daily j

RE: Setting identifier with converter Service

2011-02-16 Thread Thierry Boileau
Hello, you can override the ServerResource#toRepresentation(Object, Variant) in order to update the representation. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704845

RE: passing command line arg to server resource

2011-03-02 Thread Thierry Boileau
ce getContext().getAttributes().get("") Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2708919

Re: Receive Multi Line Text in Form post

2011-03-02 Thread Thierry Boileau
Hello Jason, I send you a sample test class. Basically: @Post(":html") public String accept(Form form) { [...] form.getFirstValue("name of your multiline field"); [...] } Best regards, Thierry Boileau Is there an example of how to receive or

Re: Re: Receive Multi Line Text in Form post

2011-03-02 Thread Thierry Boileau
class. This has nothing to do with the URI of the target resource. Just attach the resource with its own URI. Best regards, Thierry Boileau Thank you for the response! Another follow up question to this. When I route > the URL to receive this form do I need to have an input variable? For >

Re: passing command line arg to server resource

2011-03-02 Thread Thierry Boileau
Hello, do you mean you want to unsuscribe from the discussion list? Best regards, Thierry Boileau Could you please remove my email id from this mail chain. I think it > has veen included by mistake > > On 2 March 2011 14:19, Thierry Boileau > wrote: > > Hello, > > >

Re: Difference between org.restlet.client.resource.ClientResource and org.restlet.resource.ClientResourc

2011-03-04 Thread Thierry Boileau
that provides a converter of Java objects to and from Representation using the, let's say, GWT-RPC serialization format. It is only useful for server applications in front of gwt client pages. Best regards, Thierry Boileau http://www.restlet.org/documentation/2.1/jse/api/org/restlet/resourc

Re: Simple AJAX test

2011-03-07 Thread Thierry Boileau
piled into javascript code. That makes a big difference. You can have a look here for a sample application of that: http://wiki.restlet.org/docs_2.0/303-restlet.html And of course, here for a description of GWT: http://code.google.com/intl/fr/webtoolkit/ Best regards, Thierry Boileau Hello,

RE: Editions question

2011-03-07 Thread Thierry Boileau
e this will help you. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2710068

Re: Odata Ntlm authentication from unix/java

2011-03-07 Thread Thierry Boileau
Hello Ravi, I've you had a look here? http://wiki.restlet.org/docs_2.0/13-restlet/364-restlet.html Best regards, Thierry Boileau Hi, > Really appreciate any help/direction. Thank you! > > I'm trying to use the NTLM authentication to make a call to the Odata > webserv

Re: Using Restlet in GWT to replace the default RPC

2011-03-07 Thread Thierry Boileau
- the core module of the GWT *edition* - the GWT extension, on server side. If you have still a little time, I will update the sample code pages on wednesday. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2710080

Re: Response from POST

2011-03-09 Thread Thierry Boileau
Hello Vincent, that's the right way to do this. Best regards, Thierry Boileau Nevermind - it looks as if the getResponse().setEntity() will accept my > FileRepresentation and accomplish what I'd like to. > > -- > > htt

Re: Internal Connector Error (1002)

2011-03-09 Thread Thierry Boileau
parameters res.post(body).write(System.out); // directly write the returned entity to the console Best regards, Thierry Boileau Hi all, > > I'm using an *org.restlet.resource.ClientResource* : > > /* this code is the simplified version of the code I use, so that it is >

RE: Re: Internal Connector Error (1002)

2011-03-09 Thread Thierry Boileau
.ext.net.jar to the classpath and test? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2710473

Re: Restlet 2.1-M2 and GWT 2.2.0

2011-03-09 Thread Thierry Boileau
Hello Pierre, Steve, the support of GWT 2.2 (without support of lower releases of GWT) is now part of the current trunk. Best regards, Thierry Boileau Thanks Jerome and Steve. > Hope you can add GWT 2.2 support in Restlet 2.1 M3. > > Cheers,

Re: Using Restlet in GWT to replace the default RPC

2011-03-09 Thread Thierry Boileau
Hello all, I've updated the documentation and sample code as pointed. Best regards, Thierry Boileau Hello Steve, > > > >A GWT application, running in hosted mode (for the moment) using Restlet > to replace the default server communication RPC with an XML transport > mech

Re: Restlet 2.1-M2 and GWT 2.2.0

2011-03-09 Thread Thierry Boileau
If we find a simple way, we may keep the compatibility with older versions of GWT. Best regards, Thierry Boileau This is great news! Thanks Thierry. > > 2011/3/9 Thierry Boileau > > Hello Pierre, Steve, >> >> the support of GWT 2.2 (without support of lower releases o

Re: ClassNotFoundException: org.restlet.ext.servlet.ServerServlet with GAE edition

2011-03-15 Thread Thierry Boileau
be provided by the servlet container. There is no need to take it into account. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2711612

Re: ClassNotFoundException: org.restlet.ext.servlet.ServerServlet with GAE edition

2011-03-16 Thread Thierry Boileau
Hello Daniel, I don't know if you can, this structure is specified by the JEE spec ( http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WebComponents3.html). Best regards, Thierry Boileau Thierry Boileau wrote: > > > > Hello Daniel, > > > > I have a simple GAE project

Re: ArrayList returned as to client as null

2011-03-16 Thread Thierry Boileau
Hello Daniel, could you test with an ArrayList? I suspect List is not recognized as an implementation of the Serializable interface. Best regards, Thierry Boileau Hi all > > Another question! > > I´m having issues with a List being returned as null, even though > everything >

Re: ClientResource not setting cookies on a redirectq

2011-03-16 Thread Thierry Boileau
(see ClientResource#setCookies) ... Best regards, Thierry Boileau I have a unit test where I'm using the ClientResource to do a POST, the > server is adding a CookieSetting to the response, and then calls > redirectSeeOther(). The ClientResource properly does a GET to the > redir

Re: [Restlet POC] Response Entity NULL

2011-03-16 Thread Thierry Boileau
ethod simply returns an object, that is converted to a Representation based on the available Converters and the client preferences. This page illustrates this kind of needs : http://wiki.restlet.org/docs_2.1/303-restlet.html Best regards, Thierry Boileau Hi all, > > Before add RESTLET on our

<    1   2   3   4   5   6   7   8   9   10   >