title: Jboss 6 throwing "javax.servlet.ServletException: Cannot obtain destination for /UPCServiceLayer/upcLineOfBusinessService
body: <p>I am using Jboss6 to deploy my webservices developed using CXF.</p>
  
  <p>Since Jboss6 already bundled with CXF i am not using any cxf jar files inside my application.</p>
  
  <p>When i try to access my wsdl file after deployment i am getting the following exception</p>
  
  <pre><code>javax.servlet.ServletException: Cannot obtain destination for: /UPCServiceLayer/upcLineOfBusinessService
      org.jboss.wsf.stack.cxf.ServletControllerExt.findDestination(ServletControllerExt.java:111)
      org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:165)
  </code></pre>
  
  <p>The following is my jbossws-cxf.xml</p>
  
  <pre><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" 
      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"&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-servlet.xml" /&gt;
      &lt;import resource="classpath:../upc-spring-dao.xml"/&gt;
      &lt;jaxws:endpoint id="UpcLineOfBusinessServiceImpl"
          address="/upcLineOfBusinessService"&gt;
          &lt;jaxws:implementor&gt;
              &lt;ref bean="upcLineOfBusinessService"&gt;&lt;/ref&gt;
          &lt;/jaxws:implementor&gt;
          &lt;jaxws:invoker&gt;
              &lt;bean class="org.jboss.wsf.stack.cxf.InvokerJSE" /&gt;
          &lt;/jaxws:invoker&gt;
      &lt;/jaxws:endpoint&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Please help me</p>