title: Can't find the request for url Observer
body: <p>I am working with sample REST service with Apache CXF, But somehow I am not able to call the service. My implementation class is,</p>
  
  <pre><code>package com.ananth.lab.cfxrest.service;
  
  import com.ananth.lab.cfxrest.vo.Address;
  import com.ananth.lab.cfxrest.vo.Employee;
  import org.springframework.stereotype.Service;
  
  import javax.jws.WebService;
  import javax.ws.rs.*;
  import java.util.ArrayList;
  import java.util.Collection;
  import java.util.List;
  
  
  @Path("/cservice")
  @Produces("application/xml")
  public class EmployeeService {
  
      @GET
      @Path("/emp")
  
      public Employee getEmployee() {
  
          Address address1 = new Address();
          address1.setCity("Chennai");
          address1.setZip(63);
          List&lt;Address&gt; list = new ArrayList&lt;Address&gt;();
          Address address2 = new Address();
          address2.setCity("Bangalore");
          address2.setZip(49);
          list.add(address1);
          list.add(address2);
          Employee emp = new Employee();
          emp.setAddress(list);
          emp.setEmployeeId("001");
          emp.setEmployeeName("Ananth");
  
          return emp;
      }
  }
  </code></pre>
  
  <p>My web.xml file is,</p>
  
  <pre><code>&lt;!DOCTYPE web-app PUBLIC
   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/dtd/web-app_2_3.dtd" &gt;
  
  &lt;web-app&gt;
    &lt;display-name&gt;Hello world REST service with apache cxf&lt;/display-name&gt;
      &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;WEB-INF/beans.xml,WEB-INF/applicationContext.xml&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;listener&gt;
          &lt;listener-class&gt;
              org.springframework.web.context.ContextLoaderListener
          &lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
          &lt;display-name&gt;CXF Servlet&lt;/display-name&gt;
          &lt;servlet-class&gt;
              org.apache.cxf.transport.servlet.CXFServlet
          &lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>I deployed in Tomcat and the context path is "Lab". So I am trying to access the service like:</p>
  
  <pre><code>http://localhost:8080/Lab/cservice/emp
  </code></pre>
  
  <p>I am getting </p>
  
  <pre><code>No service was found.
  </code></pre>