0 Replies Latest reply on Feb 4, 2010 8:47 AM by esmith1

    Can't access WSDL from javafirst jmstransport testcase

    esmith1

      Hi, I have successfully setup and run the javafirst jmstransport testcase under CXF.  ( https://jira.jboss.org/jira/browse/JBWS-2660?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel )

       

      8  <servlet>
      9    <servlet-name>OrganizationJmsService</servlet-name>
      10    <servlet-class>org.jboss.test.ws.jaxws.samples.jmstransport.OrganizationJmsImpl</servlet-class>
      11    <load-on-startup>1</load-on-startup>
      12  </servlet>
      13
      14  <servlet-mapping>
      15    <servlet-name>OrganizationJmsService</servlet-name>
      16    <url-pattern>/*</url-pattern>
      17  </servlet-mapping>

       

      It exposes and maps a servlet, from which I was hoping to access the generated WSDL, but I can not.

       

      The endpoint address http://127.0.0.1:8080/jaxws-fromjava-jmstransport?wsdl is listed here http://localhost:8080/jbossws/services

      But when accessing it

      HTTP Status 500 -


      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Cannot obtain destination for: /jaxws-fromjava-jmstransport
           org.jboss.wsf.stack.cxf.ServletControllerExt.findDestination(ServletControllerExt.java:114)
           org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:168)

       

      My purpose in accessing the WSDL is to write and/or generate (wsconsume, ideally) client code to access the service.

       

      My question is, shouldnt the WSDL be accessible even if the @WebService is setup only for JMS transport?