HTTP 500 error returns when issung ?xsd for a service which does not have a 
wsdl 
---------------------------------------------------------------------------------

                 Key: AXIS2-1954
                 URL: https://issues.apache.org/jira/browse/AXIS2-1954
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: admin console
    Affects Versions: 1.1.1
         Environment: Win XP, JDK1.5, Firefox 1.5.0.9
            Reporter: Charitha Kankanamge


I deployed a service which was configured to use rawXMLInOutmessagereceiver. So 
that I did not get the wsdl when I issuing the following url and correct 
message returned.

http://localhost:8080/axis2/services/myService?wsdl

<error>
<description>Unable to generate WSDL for this service</description> ...

However when I issuing http://localhost:8080/axis2/services/myService?xsd to 
get the schema, I got the following error.

HTTP Status 500 -

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        java.util.ArrayList.RangeCheck(ArrayList.java:546)
        java.util.ArrayList.get(ArrayList.java:321)
        
org.apache.axis2.description.AxisService.addNameSpaces(AxisService.java:555)
        org.apache.axis2.description.AxisService.getSchema(AxisService.java:551)
        
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:229)
        org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:181)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Please give a proper error message in this scenario.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to