Re: Query Parameters for Directory Restlets and static files (405 error)

2009-10-30 Thread Andrew Moore
Any ideas anyone? Is there another list somewhere I should be posting this? Regards, Andrew Andrew Moore wrote: Hi, I'm still learning REST, HTTP, and Restlets... so this may be a basic question, but here goes... My situation/problem space: We have a javascript heavy client

Query Parameters for Directory Restlets and static files (405 error)

2009-10-28 Thread Andrew Moore
Hi, I'm still learning REST, HTTP, and Restlets... so this may be a basic question, but here goes... My situation/problem space: We have a javascript heavy client and I am trying to set up a way of testing individual UI components, while reusing the same javascript includes (so everyone knows

Re: Query Parameters for Directory Restlets and static files (405 error)

2009-10-28 Thread Andrew Moore
I should add that we are using 2.0 M3 and serving it up with JBOSS. ~ Andrew -- View this message in context: http://n2.nabble.com/Query-Parameters-for-Directory-Restlets-and-static-files-405-error-tp3906669p3907399.html Sent from the Restlet Discuss mailing list archive at Nabble.com.

Re: RIAP Client from within my J2EE application (jboss)

2009-07-30 Thread Andrew Moore
Thanks, I'll give that a shot and let you know if it works or what I'm still stuck on. Regards, Andrew -- View this message in context: http://n2.nabble.com/RIAP-Client-from-within-my-J2EE-application-%28jboss%29-tp3353312p3356788.html Sent from the Restlet Discuss mailing list archive at

Re: RIAP Client from within my J2EE application (jboss)

2009-07-30 Thread Andrew Moore
I'm definitely still having issues... A little more background: we have a quartz job that calls a class which is trying to make these requests. The Job class I created really has no context for the my restlet application. I'm not sure I'm creating my client correctly... when I create it like

RIAP Client from within my J2EE application (jboss)

2009-07-29 Thread Andrew Moore
Hi, We're running a J2EE app on JBOSS, but we've started integrating Restlet so that hopefully we can ditch our legacy app and move on with RESTful services. The short story is hopefully some other folks will be able to use our new Restlet service to get the resources they need, but if they

Trouble Getting Query Parameters

2009-06-11 Thread Andrew Moore
I'm new to Restlet and I'm having trouble accessing the query parameters in my ServerResource. I'm using a URI comparable to: http://localhost:8080/myapp/zipcodes/{zip}/locations/{location}/users/{user}?callback=someCallbackFunction The client is written in EXT.js and is expecting me to wrap

Re: Trouble Getting Query Parameters

2009-06-11 Thread Andrew Moore
I'm starting to understand what may be going on... when EXT.js makes the request for my URI, the query string looks like this: ?_dc=1244741620627callback=stcCallback1001 And the org.restlet.engine.util.FormReader is not able to parse the parameters. Here's the error: 06/11/2009 11:33:40.640

Re: Trouble Getting Query Parameters

2009-06-11 Thread Andrew Moore
I just did a test with curl both with and without that initial ampersand in there... yes, that ampersand is causing the parsing problem. Since this is EXT.js creating this, I guess I'll have to figure out a way to change it or something. Should the FormReader be able to handle an initial

Basic Application and Resources (JBOSS)

2009-06-07 Thread Andrew Moore
Hi, I'm new to RESTful services and Restlets. I'm trying to create a hello world application that is integrated in with my company's J2EE app (we're running on JBOSS). From what I can tell from the tutorials and example source code, this seems pretty simple, but I'm definitely missing something.

Help with a basic Application and Resources (on JBOSS)

2009-06-05 Thread Andrew Moore
Hi, I'm new to RESTful services and Restlets. I'm trying to create a hello world application that is integrated with my company's J2EE app (we're running on JBOSS). From what I can tell from the tutorials and example source code, it seems pretty simple to add an Application and Resources. I'm

Re: Help with a basic Application and Resources (on JBOSS)

2009-06-05 Thread Andrew Moore
Well... I figured it out. And I am an idiot. I had setup my web.xml to associate my Application class with /myapp. I was then attaching my resources to a URI that started with /myapp/ So therefore, in my browser the URI which properly returned me my resource was: