Hi there, It looks like a JAR version mixing issue.
Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : webp...@tigris.org [mailto:webp...@tigris.org] Envoyé : vendredi 28 mai 2010 19:53 À : discuss@restlet.tigris.org Objet : Cannot parse POST xml representation Hi, I get following error when sending a POST (with xml content): 28-mei-2010 19:45:23 org.restlet.routing.Route beforeHandle FINE: Delegating the call to the target Restlet 28-mei-2010 19:45:23 org.restlet.service.ConverterService toObject FINE: The following converter was selected for the [text/xml] representation: org.restlet.engine.converter.defaultconver...@3b5587 28-mei-2010 19:45:23 org.restlet.resource.UniformResource doCatch INFO: Exception or error caught in resource org.restlet.resource.ResourceException: org.restlet.representation.Representation.getLocationRef()Lorg/restlet/data/ Reference; at org.restlet.resource.ServerResource.doHandle(ServerResource.java:484) at org.restlet.resource.ServerResource.post(ServerResource.java:1055) Caused by: java.lang.NoSuchMethodError: org.restlet.representation.Representation.getLocationRef()Lorg/restlet/data/ Reference; at org.restlet.ext.xml.SaxRepresentation.<init>(SaxRepresentation.java:145) The error occurs when following line is executed: public String upload (Representation entity) throws ResourceException { SaxRepresentation xmldocument = new SaxRepresentation(entity); ... ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=26145 34 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2629066