integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Hi! This is my first project where I use restlet. I have trouble to figure out how to integrate it with the org.springframework.web.servlet.DispatcherServlet. I use that for some SOAP web services (using the xfire exporter), but now I want to attach a restlet using json. I was not able to find

Re: integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Thanks for your help! Looks like thats exactly what I needed! I still have an error that I can't solve, when I try to call the URL, it says: 01.04.2008 18:56:33 org.restlet.Filter doHandle WARNUNG: A filter was executed without a next Restlet attached to it. Can you see where the error is? My

Re: integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Seems I solved it, I didn't expect that the web.xml url-pattern is not included in the url pattern that the router matches against. I have one last issue here: when I try to use the SpringBeanRouter (instead of the SpringRouter, which works), no URLs match. I checked and noticed that

bug in the spring SpringBeanRouter

2008-04-01 Thread Michael Böckling
After lots of debugging, it seems wildcards don't work in the SpringBeanRouter, since the * is improperly escaped. The SpringBeanRouter also does not work when placed in the [servlet-name]-servlet.xml, it must be placed in the main applicationContext.xml. Can you confirm this?