Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 1.64 KB  |  hits: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Jboss 6 throwing "javax.servlet.ServletException: Cannot obtain destination for /UPCServiceLayer/upcLineOfBusinessService
  2. javax.servlet.ServletException: Cannot obtain destination for: /UPCServiceLayer/upcLineOfBusinessService
  3.     org.jboss.wsf.stack.cxf.ServletControllerExt.findDestination(ServletControllerExt.java:111)
  4.     org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:165)
  5.        
  6. <?xml version="1.0" encoding="UTF-8"?>
  7. <beans xmlns="http://www.springframework.org/schema/beans"
  8.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
  9.     xmlns:aop="http://www.springframework.org/schema/aop"
  10.     xsi:schemaLocation="
  11. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  12. http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
  13. http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
  14. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
  15.     <import resource="classpath:META-INF/cxf/cxf.xml" />
  16.     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
  17.     <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
  18.     <import resource="classpath:../upc-spring-dao.xml"/>
  19.     <jaxws:endpoint id="UpcLineOfBusinessServiceImpl"
  20.         address="/upcLineOfBusinessService">
  21.         <jaxws:implementor>
  22.             <ref bean="upcLineOfBusinessService"></ref>
  23.         </jaxws:implementor>
  24.         <jaxws:invoker>
  25.             <bean class="org.jboss.wsf.stack.cxf.InvokerJSE" />
  26.         </jaxws:invoker>
  27.     </jaxws:endpoint>
  28.  
  29. </beans>