Server Interface Binding

2007-07-05 Thread Alex Milowski
I have code (components) that use the following API call: String addr = ... int port = ... getServers().add(Protocol.HTTPS,addr,port); but I still see the process binding to the any interface "*" rather than a specific interface. I'm using the Simple framework. Is there a limitation here

Re: Atom Suppport

2007-07-05 Thread Alex Milowski
On 7/1/07, Jerome Louvel <[EMAIL PROTECTED]> wrote: Hi Alex, Thanks for the detailed explanation on atomojo and for suggesting a merging on the Atom client side. Your contribution in this area would be very welcomed for Restlet 1.1. The only problem is that my code relies upon my xml-infoset

Re: How to send files using Restlet

2007-07-05 Thread Thierry Boileau
Hi Billy, I send you a sample application illustrating how a client can put a file to a server. It also illustrates how to send a compressed representation that should be decompressed at runtime by the server (the sent representation only "wraps" the real representation, according to the sent

Re: Posting form data using the client data

2007-07-05 Thread Thierry Boileau
Hello Geoff, you followed the right intuition, it works. I send you a sample application attached to this mail based on your code. Take care to provide in your classpath the right dependencies as this application depends on 2 connectors, one client and one server (see this page [1]) I hope th

Re: Versioning REST Services

2007-07-05 Thread Aron Roberts
In the message "Versioning REST Services", dated 2007-07-05, Jim Pace wrote: I am looking for best practices for versioning REST services. What is the best way for a producer of information to modify/upgrade the data format without breaking existing clients? I have not been able to find many

Proposal for ResourceFactory

2007-07-05 Thread Jon Lachelt
I would like to propose an enhancement to the Router class. I’ll start by admitting that I am fairly new to the RESTlets API and to this forum. A proposal similar to this may have been discussed already, or I may be missing something in the API that works more like I want. I like the way th

Versioning REST Services

2007-07-05 Thread Jim Pace
I am looking for best practices for versioning REST services. What is the best way for a producer of information to modify/upgrade the data format without breaking existing clients? I have not been able to find many discussions about this issue, even though it seems like a very fundamental proble

RE: Re: Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Balas Julien
Ok, I'm going to investigate the 2nd way, seems to fit my need. Thanks for the quick reply. -- Julien Balas JDAS Rennes -Message d'origine- De : Jerome Louvel [mailto:[EMAIL PROTECTED] Envoyé : jeudi 5 juillet 2007 16:59 À : discuss@restlet.tigris.org Objet : Re: Multiples rest servic

RE: Re: Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Balas Julien
I'm using 1.0.2 The very strange thing is that I have a previous version of my app and the 2 servlets are working perfectly. (I can prove it with a war) :) But I can't find the differences. The web.xml is the same The .class files are the same. I tried the war on another tomcat (on a Linux box)

RE: Re: Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Balas Julien
>The Restlet framework is throwing this error because, as it implies, >it cannot match the URI to anything that it has mapped. But it match the first servlet called And if I restart the tomcat server and call the 2nd servlet, the 2nd servlet works. > When I decompressed your WAR file, there

Re: Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Dustin N. Jenkins
Balas Julien wrote: I'm using 1.0.2 The very strange thing is that I have a previous version of my app and the 2 servlets are working perfectly. (I can prove it with a war) :) But I can't find the differences. The web.xml is the same The .class files are the same. I tried the war on another

Re: Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Jerome Louvel
Hi Julien, Which version of Restlet are you using? There was a related bug fixed in 1.0.2: - Fixed bug in ServletConverter causing the caching of the base URI and inability to handle requests with various base URI style (IP address and domain names for example). Report by Ryan Daum. Best reg

Multiples rest service using multiples servlet in tomcat.

2007-07-05 Thread Balas Julien
Hi I'm trying to have 2 servlets using 2 restlet in order to provide 2 REST services in the same tomcat. But I have a strange behavior. The first Servlet called works perfectly, but not the second one. For the second one, I get a "404 error", but not a "tomcat 404". If a call a non existing servlet

Posting form data using the client data

2007-07-05 Thread Geoff
Hi I can successfully process a form that is POSTED by a Web browser using the Restlet API, however it is unclear how to create a form and post it using the API. I have tried the following code but the form data does not get picked up by the form processing code. Can you please advise? Form

How to send files using Restlet

2007-07-05 Thread billy
Hi, I'm trying to upload files using Restlet as client and server. For the server, I am using RestletFileUpload and it works. However, for the client, I have no clue how to put files. All I have achieved so far is: Request request = new Request (Method.GET, "http://localhost:8182