Free and Open-source Talend ESB Standard Edition (www.talend.com/landing/esbse) offers multiple REST examples using CXF that run on embedded Jetty, standalone Tomcat and via OSGi -- the jaxrs-intro and jaxrs-advanced samples in particular might be helpful for you: https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf

HTH,
Glen

On 02/04/2013 12:52 PM, dave11 wrote:

That is not a problem.
I changed bean definition to
<import resource="classpath:META-INF/cxf/cxf.xml" />    <import 
resource="classpath:META-INF/cxf/cxf-servlet.xml" />
        <bean class="org.apache.cxf.jaxrs.JAXRSServerFactoryBean"          init-method="create">              <property name="address" 
value="/service1" />         <property name="serviceBeans">                  <list>                            <ref bean="categoryBean" 
/>                     </list>           </property>       </bean>
but still get same error
Thanks
Date: Mon, 4 Feb 2013 06:49:12 -0800
From: [email protected]
To: [email protected]
Subject: Re: My first restful webservice not working.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to