Hi,
  I run my JAX-RS only on jetty and get the error message can't find the
request for ... observer. The following is my beans.xml. As you can see, I
have define a endpoint "/rs". But the desitnation in ServletTransportFactory
is empty. Any clue?

Regards,
Rice


<beans xmlns="http://www.springframework.org/schema/beans";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxws="
http://cxf.apache.org/jaxws";
    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
http://cxf.apache.org/schemas/jaxrs.xsd";>

    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import
resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

    <jaxrs:server id="personnel" address="/rs">
        <jaxrs:serviceBeans>
            <bean class="xs.personnel.rs.PassThroughResource"/>
            <bean class="xs.personnel.rs.html.bureaucracy"/>
            <bean class="xs.personnel.rs.html.organization"/>
            <bean class="xs.personnel.rs.html.explorer"/>
            <bean class="xs.personnel.rs.html.test"/>
            <bean class="xs.personnel.rs.job"/>
            <bean class="xs.personnel.rs.organizationType"/>
            <bean class="xs.personnel.rs.position"/>
            <bean class="xs.personnel.rs.realm"/>
            <bean class="xs.personnel.rs.staff"/>
        </jaxrs:serviceBeans>
    </jaxrs:server>

</beans>

Reply via email to