2012-01-25 9 views
0

先を取得できません私は自分のWebサービスを展開するJboss6を使用していますCXFを使用して開発JBossの6投げ「javax.servlet.ServletExceptionは:/ UPCServiceLayer/upcLineOfBusinessService

をJboss6はすでに私はCXF jarファイルを使用していないCXFにバンドルされているので。自分のアプリケーション内のファイル。私は、展開後に私のWSDLファイルにアクセスしようとすると

私は次の例外に

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) 

を取得しています以下は、私はJBossWS-cxf.xml

です
<?xml version="1.0" encoding="UTF-8"?> 
<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"> 
    <import resource="classpath:META-INF/cxf/cxf.xml" /> 
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> 
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> 
    <import resource="classpath:../upc-spring-dao.xml"/> 
    <jaxws:endpoint id="UpcLineOfBusinessServiceImpl" 
     address="/upcLineOfBusinessService"> 
     <jaxws:implementor> 
      <ref bean="upcLineOfBusinessService"></ref> 
     </jaxws:implementor> 
     <jaxws:invoker> 
      <bean class="org.jboss.wsf.stack.cxf.InvokerJSE" /> 
     </jaxws:invoker> 
    </jaxws:endpoint> 

</beans> 

+0

Googleで検索した後、このウェブサイトhttps://community.jboss.org/thread/161037が見つかりました。しかし、それは私のために働いていません。 – Dilip

答えて

0

はあなたがaddress="/UPCServiceLayer/upcLineOfBusinessServiceaddress="/upcLineOfBusinessService"を交換しようとした持っている私を助けてください?

関連する問題