Un-necessary schema definition returned by Woden
------------------------------------------------

         Key: WODEN-28
         URL: http://issues.apache.org/jira/browse/WODEN-28
     Project: Woden
        Type: Bug

    Reporter: Eran Chinthaka


I was trying to read HotelReservationService.wsdl and feed that to Axis2. 

When I tried to get the schemas within the wsdl, it returns two schema 
instances. Actual wsdl contains only one schema.  But woden returns the schema 
of XmlSchema (as I doubt) also, in addition to the schema in the wsdl, when I 
call like this.

TypesElement typesElement = description.toElement()
                    .getTypesElement();
            if (typesElement != null) {
                Schema[] schemas = typesElement.getSchemas();
                for (int i = 0; i < schemas.length; i++) {
                    XmlSchema schemaDefinition = 
schemas[i].getSchemaDefinition();
                    ............................
                    ............................                   
                    
                }
            }

Is this intentional ? 

I prefer if we can atleast have a switch for this, as this hinders me using the 
simple databinding framework we have in Axis2. 

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


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

Reply via email to