Schematron to validate XML representations

2012-06-19 Thread Adam Mackler
Hi: In the Restlet book (page 108), it says regarding validation of XML documents that, "we recommend you use XML Schema...or modern alternatives such as Relax NG or Schematron." I'm interested in using Schematron. I'm using Restlet 2.0.14. In the XMLRepresentation class, the getSchemaLangua

RE: restlet problem. urgent! Please help me!

2012-06-19 Thread Jerome Louvel
Hi Zhu, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : yunwu zhu [mailto:zhuywt...@gmail.com] Envoyé : dimanche 15 avril

RE: CompositeHelper returns 500 on GAE

2012-06-19 Thread Jerome Louvel
Hi Danny, Even though it took us a while, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Danny Leshem [mailto:dles...@gmai

RE: RestletFrameworkServlet - HTTP 500 on first request.

2012-06-19 Thread Jerome Louvel
Hi David, Even though it took us a while, I'm happy to report that this issue is now fixed: https://github.com/restlet/restlet-framework-java/issues/437 Best regards, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -Message d'origine- De : Crogdor [mailto:da...@davidfuchs

RE: Restlet + GAE + OAuth - anyone get this to work?

2012-06-19 Thread Richard Berger
One more note... there is a more complete code sample at: http://fni.googlecode.com/svn/!svn/bc/622/trunk/fniCloud/src/fi/foyt/fni/cloud/ (it's much better than my code - although most of the Restlet relevant classes seem to no longer be available in the owner's current version - they may have gi

RE: Restlet + GAE + OAuth - anyone get this to work?

2012-06-19 Thread Richard Berger
Took a week, but I did get it to work. For anyone else who runs into this 1. I was following the Ericsson documentation at: https://labs.ericsson.com/apis/oauth2-framework/documentation#Web_Client_Flow that got me as far as getting things to work on my local Google-app-engine dev server. Bu

RE: Re: ServerResource getRequest() returns null

2012-06-19 Thread Richard Berger
On my resource: public class UserActsServerResource extends ServerResource implements UserActsResource {... I am able to use: public final Representation represent() { ... User user = UserHelpers.getCurrentUser(this.getRequest(), this.getResponse()); and this.getRequest() returns a useful valu

RE: Calling OData FunctionImport

2012-06-19 Thread Giuseppe Porcelli
Hi Rheim, I am looking for your same question, do you found the answer? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2972039