You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2006/12/15 11:55:25 UTC

[jira] Commented: (WODEN-28) Un-necessary schema definition returned by Woden

    [ http://issues.apache.org/jira/browse/WODEN-28?page=comments#action_12458738 ] 
            
John Kaputin commented on WODEN-28:
-----------------------------------

Chinthaka, this has been 'resolved' for sometime. Can you please close it if you agree. Thanks.

> Un-necessary schema definition returned by Woden
> ------------------------------------------------
>
>                 Key: WODEN-28
>                 URL: http://issues.apache.org/jira/browse/WODEN-28
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Eran Chinthaka
>         Assigned To: Arthur Ryman
>
> 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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org