Some copy & paste errors, corrected below ---------------------------------------------------------------
Hi I'm in the process of upgrading our application from rest 1.0 to rest 1.1. I have created a restlet.xml file as follows <?xml version="1.0"?> <component xmlns="http://www.restlet.org/schemas/1.1/Component" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.restlet.org/schemas/1.1/Component"> <defaultHost> <attach uriPattern="/content" targetClass="some.package.SomeClass" /> <attach uriPattern="/service" targetClass="some.other.package.SomeOtherClass" /> </defaultHost> </component> Problem is that when the server starts and I send in a request, I see the following in the log file [INFO] 2008-08-27 20:22:42,291 INFO [/app] - rest: [Noelios Restlet Engine] - Attaching restlet: [EMAIL PROTECTED] to URI: /app/service/content [INFO] 2008-08-27 20:22:42,291 INFO [/app] - rest: [Noelios Restlet Engine] - Attaching restlet: [EMAIL PROTECTED] to URI: /app/service/service Which is leading to a 404, as I was expecting the uriPattern to be matching /app/service or /app/content not /app/service/service or /app/service/content I am somewhat new to the innerworkings of restlet, so any pointers would be greatly appreciated Thanks Max