Hi,
I'm a newbie too, but my cxf conf works and I noticed the server URL is hard
coded:
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
<osgi:reference id="valuesTestDao"
interface="net.osgiliath.dao.ValuesTestDao" />
<context:annotation-config />
<context:component-scan base-package="net.osgiliath.ws.server.internal"
/>
<jaxrs:server id="ValuesTestServer"
address="http://${ws.server.url}:8080/${ws.context.url}/ws/">
<jaxrs:features>
<cxf:logging></cxf:logging>
</jaxrs:features>
<jaxrs:serviceBeans>
<ref bean="valuesTestWsServer" />
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="jaxbProvider" />
</jaxrs:providers>
<jaxrs:extensionMappings>
<entry key="json" value="application/json" />
<entry key="xml" value="application/xml" />
</jaxrs:extensionMappings>
<jaxrs:languageMappings>
<entry key="en" value="en-gb" />
</jaxrs:languageMappings>
</jaxrs:server>
--
View this message in context:
http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5101566.html
Sent from the cxf-user mailing list archive at Nabble.com.