[jboss-user] [JBoss Web Services] New message: "Can't access WSDL from javafirst jmstransport testcase"

Eric Smith do-not-reply at jboss.com
Thu Feb 4 08:48:07 EST 2010


User development,

A new message was posted in the thread "Can't access WSDL from javafirst jmstransport testcase":

http://community.jboss.org/message/524158#524158

Author  : Eric Smith
Profile : http://community.jboss.org/people/esmith1

Message:
--------------------------------------------------------------
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
 
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l8 |   <servlet> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l9 |     <servlet-name>OrganizationJmsService</servlet-name> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l10 |     <servlet-class>org.jboss.test.ws.jaxws.samples.jmstransport.OrganizationJmsImpl</servlet-class> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l11 |     <load-on-startup>1</load-on-startup> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l12 |   </servlet> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l13 |  |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l14 |   <servlet-mapping> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l15 |     <servlet-name>OrganizationJmsService</servlet-name> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l16 |     <url-pattern>/*</url-pattern> |
| http://fisheye.jboss.org/browse/JBossWS/stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/WEB-INF/web.xml?r=11094#l17 |   </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
h1. 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?
 


--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524158#524158




More information about the jboss-user mailing list