?wsdl becomes /?wsdl
--------------------

                 Key: GERONIMO-2191
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2191
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 1.1
         Environment: Geronimo 1.1, Tomcat version; Sun JDK 1.5_4, OpenSuSE 
10.1 alpha 4, 712 MB RAM
            Reporter: D. Strauss


Hello,

I had created an EJB webservice endpoint. When using the tomcat version of 
Geronimo, I cannot get the WSDL from the endpoint. I mean, when using an 
endpoint url like

/services/FxWSEP

you can typically get the WSDL by using

/services/FxWSEP?wsdl

The Jetty version of Geronimo 1.1 seems to work correctly. However, the tomcat 
version redirects the query:

/services/FxWSEP?wsdl

becomes

/services/FxWSEP/?wsdl

with some interesting info by Tomcat:

HTTP Status 500 - Could not fetch wsdl!

type Status report

message Could not fetch wsdl!

description The server encountered an internal error (Could not fetch wsdl!) 
that prevented it from fulfilling this request.
Apache Tomcat/5.5.15

In the log file, you get this wonderful message:

15:33:45,208 ERROR [TomcatEJBWebServiceContext] 
java.lang.IllegalStateException: request must contain a  wsdl or WSDL 
parameter: {wsdl=[Ljava.lang.String;@1a7c7e7}

Aaron Mulder suggested to give the wsdl param a value. Aaron: it doesn't work ;)

Seems that any requests are redirected. The question is: why? :P And, why is 
the Jetty version not affected?

Best regards

-- 
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

        

Reply via email to