I am using the below servlet  configuration
<servlet>
    <servlet-name>CXFServlet</servlet-name>
   
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/rest/*</url-pattern>
</servlet-mapping>

The service class is below
@Path("/data")
public Class Service
{
        @GET
        @Path("customercontacts/{customerid}")
        public String getData(@PathParam(customerid) Integer customerId)
        {
        }

}

I am deploying in JBOSS service.war.

When i type the url 
http://localhost:8080/service/rest/data/customercontacts/12345

I get the error No service Found

what should be the url for the bean definition in camel context. If i use
the http protocol as part of address
 I get the HttpDestinationFactory not defined in Bus error. If i remove the
protocol from the address i get NO Sevice found error. What should be my
configuration



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-cxrrs-no-service-found-tp5750327.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to