Arul, thanks for the pointer.
I have upgraded to the latest snapshot of 2.1 but still get the same issue. Brad. On Mon, Apr 21, 2008 at 4:12 PM, Arul Dhesiaseelan <[EMAIL PROTECTED]> wrote: > I think JAX-RS (JSR 311) support is available only in 2.1. > > Brad wrote: > > > > > > > > > Hi, > > > > I'm trying to test out the JAX-RS support in cxf-2.0.5 by adapting the > > Spring based example at > > http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html. > > > > My beans.xml file is shown here: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns="http://www.springframework.org/schema/beans" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:jaxrs="http://cxf.apache.org/jaxrs" > > > xsi:schemaLocation="http://www.springframework.org/schema/beans > > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > > http://cxf.apache.org/jaxrs > > C:\workspace\eclipse33\cxf_REST_Web\WebContent\WEB-INF\schema\jaxrs.xsd"> > > > > <import resource="cxf.xml" /> > > <import resource="cxf-extension-jaxrs-binding.xml" /> > > <import resource="cxf-servlet.xml" /> > > > > <jaxrs:server id="audit" address="/audit"> > > <jaxrs:serviceBeans> > > <bean class="test.rest.TestImpl"/> > > </jaxrs:serviceBeans> > > </jaxrs:server> > > > > </beans> > > > > This gives me the following error: > > > > org.springframework.beans.factory.parsing.BeanDefinitionParsingException: > > Configuration problem: Unable to locate Spring NamespaceHandler for > > XML schema namespace [http://cxf.apache.org/jaxrs] > > > > I tried googling this and got one result for something similar which > > seemed to be suggesting that I'm missing a JAR file (possibly > > comtaining a missing handler class for the given namespace?) Am I on > > the right track there? > > > > All help gratefully received. > > > > Thanks, > > Brad. > > > > _________________________________________________ > > Scanned by MessageLabs for the Super Flux Friends > > _________________________________________________ > > > > > > >
