You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jeff Genender (JIRA)" <de...@geronimo.apache.org> on 2005/06/16 03:36:49 UTC

[jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

    [ 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


RE: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Jeff Genender <jg...@savoirtech.com>.
Could be...lets try this on Tomcat and we can hopefully help find the issue.
 

Jeff 

-----Original Message-----
From: Stefan Schmidt [mailto:schmidtitc@gmail.com] 
Sent: Wednesday, June 15, 2005 7:58 PM
To: dev@geronimo.apache.org
Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL
problem

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-i
nterface>
            <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(JettyEJBWebServic
eContext.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(AxisWebServi
ceContainer.java:253)
>>	at
org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebServic
eContext.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
>>    
>>
>
>  
>



Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Stefan Schmidt <sc...@gmail.com>.
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
>>    
>>
>
>  
>


RE: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Jeff Genender <jg...@savoirtech.com>.
The Tomcat that is included with Geronimo is 5.5.9.  I can run Geronimo on
MacOSX, Windows and Linux...with MacOSX being my preferred platform of
choice.

You do not need to install Tomcat seperately...its part of the distribution.
You need to just comment/uncomment the sections in the
j2ee-runtime-deployer-plan.xml and the j2ee-deployer-plan.xml.  Then you
only need to rebuild assembly if you already have a fully built Geronimo.

Then to start Geronimo...use the following:

java -Djava.endorsed.dirs=lib/endorsed -jar bin/server.jar
org/apache/geronimo/Tomcat 

This will start Tomcat with Geronimo.  Don't forget Geronimo is configured
to run Tomcat on port 8090, so don't accidentally go to port 8080.

If you run into issues, follow the wiki, its pretty clear on what you need
to do to get Geronimo running.

Final point, yes, be sure you update Geronimo as I checked in the final
piece to run webservices and EJBs with Tomcat yesterday.

Jeff 

-----Original Message-----
From: Stefan Schmidt [mailto:schmidtitc@gmail.com] 
Sent: Wednesday, June 15, 2005 9:03 PM
To: dev@geronimo.apache.org
Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL
problem

I am currently checking out the latest code (I assume you have changed a few
things there recently). And the I need to build Geronimo again (a painful
task with all these errors I get there). Hopefully it works this time. Which
Tomcat are you using? I am on Windows, do I install Tomcat separately (and
reference it in /j2ee-server-tomcat-plan.xml)/ or do I put it somewhere into
Geronimo?

Stefan


Jeff Genender wrote:

>Yes of course.   I suspect the error will be the same on the Tomcat side,
>but lets give it a shot.
>
>Jeff
>
>-----Original Message-----
>From: Stefan Schmidt [mailto:schmidtitc@gmail.com]
>Sent: Wednesday, June 15, 2005 7:50 PM
>To: dev@geronimo.apache.org
>Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint 
>WSDL problem
>
>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(JettyEJBWebS
>ervic
>eContext.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:24
>4)
>  
>
>>>	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(AxisWeb
>Servi
>ceContainer.java:253)
>  
>
>>>	at
>>>      
>>>
>org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebS
>ervic
>eContext.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
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>
>
>  
>



Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Stefan Schmidt <sc...@gmail.com>.
I am currently checking out the latest code (I assume you have changed a 
few things there recently). And the I need to build Geronimo again (a 
painful task with all these errors I get there). Hopefully it works this 
time. Which Tomcat are you using? I am on Windows, do I install Tomcat 
separately (and reference it in /j2ee-server-tomcat-plan.xml)/ or do I 
put it somewhere into Geronimo?

Stefan


Jeff Genender wrote:

>Yes of course.   I suspect the error will be the same on the Tomcat side,
>but lets give it a shot.
>
>Jeff
>
>-----Original Message-----
>From: Stefan Schmidt [mailto:schmidtitc@gmail.com] 
>Sent: Wednesday, June 15, 2005 7:50 PM
>To: dev@geronimo.apache.org
>Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL
>problem
>
>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(JettyEJBWebServic
>eContext.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(AxisWebServi
>ceContainer.java:253)
>  
>
>>>	at
>>>      
>>>
>org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebServic
>eContext.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
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>
>
>  
>


RE: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Jeff Genender <jg...@savoirtech.com>.
Yes of course.   I suspect the error will be the same on the Tomcat side,
but lets give it a shot.

Jeff

-----Original Message-----
From: Stefan Schmidt [mailto:schmidtitc@gmail.com] 
Sent: Wednesday, June 15, 2005 7:50 PM
To: dev@geronimo.apache.org
Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL
problem

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(JettyEJBWebServic
eContext.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(AxisWebServi
ceContainer.java:253)
>>	at
org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebServic
eContext.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
>>    
>>
>
>  
>



Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem

Posted by Stefan Schmidt <sc...@gmail.com>.
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
>>    
>>
>
>  
>