Yes, interesting I didn't notice that before. However, I just checked the webservices.xml again and it looks good there:

<webservices xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
    version="1.1">

   <webservice-description>
<webservice-description-name>HelloService</webservice-description-name>
       <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
       <jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>

       <port-component>
           <port-component-name>Hello</port-component-name>
           <wsdl-port>HelloPort</wsdl-port>
<service-endpoint-interface>org.jboss.chap12.hello.Hello</service-endpoint-interface>
           <service-impl-bean>
               <ejb-link>HelloBean</ejb-link>
           </service-impl-bean>
       </port-component>
   </webservice-description>
</webservices>

So it seems the problem is in JettyEJBWebServiceContext

:Stefan


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