Hi Jeff,

I had a chat with Davic J the other day and he agreed that this is a bug. If you want to test it yourself: the code, descriptors etc are actually taken from the jBoss examples. The only thing you have to do to make it Geronimo complient is to enter a proper <soap:address location in the HelloService.wsdl (if I remember correctly :-). I could also send the hello-ejb.jar to you (it is a simple example with only a session bean - no entity beans - no database). Btw, the same jBoss example running in front of a servlet (hello-servlet.war) as a JSE runs smoothly.

Are you still interested in testing Web services in Tomcat?

Regards,

Stefan Schmidt



Jeff Genender (JIRA) wrote:

[ http://issues.apache.org/jira/browse/GERONIMO-672?page=comments#action_12313782 ]
Jeff Genender commented on GERONIMO-672:
----------------------------------------

Could this be a configuration issue with your webservices.xml or other file?  The error 
is stating is cannot find the wsdl at ETA-INF/wsdl/HelloService.wsdl.  Note the missing 
"M".  Should this not be META-INF/wsdl/HelloService.wsdl?

EJB Web Service Endpoint WSDL problem
-------------------------------------

        Key: GERONIMO-672
        URL: http://issues.apache.org/jira/browse/GERONIMO-672
    Project: Geronimo
       Type: Bug
 Components: webservices
   Versions: 1.0-M4
Environment: Windows XP SP2
   Reporter: Stefan Schmidt

When trying to read the WSDL file of a deployed EJB Endpoint 
(http://localhost:8080/hello-ejb/Hello?wsdl) I get the following error msg in 
the geronimo.log:
15:49:08,717 DEBUG [HttpServer] Try HttpContext[/hello-ejb/Hello,null],0
15:49:08,717 WARN  [HttpConnection] GET /hello-ejb/Hello?wsdl HTTP/1.1 
HttpException(500,Internal Server Error,Could not fetch wsdl!)
15:49:08,717 DEBUG [HttpConnection] EXCEPTION HttpException(500,Internal Server Error,Could not fetch wsdl!)
        at 
org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebServiceContext.java:139)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.lang.IllegalStateException: No wsdl or schema known at 
location: ETA-INF/wsdl/HelloService.wsdl
        at 
org.apache.geronimo.axis.server.AxisWebServiceContainer.getWsdl(AxisWebServiceContainer.java:253)
        at 
org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebServiceContext.java:134)
        ... 7 more
15:49:08,717 DEBUG [HttpConnection] RESPONSE:
HTTP/1.1 500 Internal Server Error
Date: Mon, 13 Jun 2005 05:49:08 GMT
Server: Jetty/5.1.4rc0 (Windows XP/5.1 x86 java/1.4.2_08
Connection: close
The hello-ejb.jar EJB is a simple example taken from jBoss 4 WS examples.
Stefan Schmidt


Reply via email to