title: CXF-RS throwing No operation matching request path /create is found,
body: <p>I developed the JAX-RS webservices using CXF framework and i deployed in Jboss6.
  While i try to access the application using the following URL <a href="http://localhost:8080/UPCServiceLayer/services/upcLineOfBusiness/create" rel="nofollow">http://localhost:8080/UPCServiceLayer/services/upcLineOfBusiness/create</a> from my HTML page (using POST method only) i am getting following error in the server console</p>
  
  <pre>No operation matching request path /create is found,</pre>
  
  <p>The following is my cxf.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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:aop="http://www.springframework.org/schema/aop" xmlns:jaxrs="http://cxf.apache.org/jaxrs"
      xsi:schemaLocation="
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
  http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
  http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd 
  http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"&gt;
      &lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
      &lt;import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /&gt;
      &lt;import  resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"/&gt;
      &lt;import resource="classpath:META-INF/cxf/cxf-servlet.xml" /&gt;
      &lt;import resource="classpath:../upc-spring-dao.xml" /&gt;
      &lt;jaxrs:server id="upcLineOfBusinessRestServiceServer" address="/upcLineOfBusiness"&gt;
          &lt;jaxrs:serviceBeans&gt;
              &lt;ref bean="upcLineOfBusinessRestService" /&gt;
          &lt;/jaxrs:serviceBeans&gt;
      &lt;/jaxrs:server&gt;
      &lt;bean id="upcLineOfBusinessRestService"
          class="com.tecnotree.upc.services.restservices.impl.UpcLineOfBusinessRestServiceImpl"&gt;
          &lt;property name="upcLineOfBusinessDao"&gt;
              &lt;ref bean="upcLineOfBusinessDao" /&gt;
          &lt;/property&gt;
          &lt;property name="upcUserDao"&gt;
              &lt;ref bean="upcUserDao" /&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>The following is my resource class</p>
  
  <pre class="lang-java prettyprint-override"><code>@Path("/")
  public classUpcLineOfBusinessRestService {
      @POST
      @ConsumeMime("application/xml")
      @ProduceMime("application/xml")
      @Path("/create")
      public UpcLineOfBusinessEntity createUpcLineOfBusinessEntity(
              UpcLineOfBusinessEntity upcLineOfBusinessEntity)
              throws GenericUpcException
  </code></pre>
  
  <p>and i declared CXF servlet in my web.xml file also.</p>
  
  <pre class="lang-xml prettyprint-override"><code> &lt;servlet&gt;
              &lt;servlet-name&gt;CXFServlet&lt;/servlet-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;/services/*&lt;/url-pattern&gt;
          &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>Please help me</p>