[ http://issues.apache.org/jira/browse/WODEN-28?page=all ]
     
Arthur Ryman resolved WODEN-28:
-------------------------------

    Resolution: Fixed

The WSDL 2.0 spec requires that all the XSD 1.0 built-in simple types be 
present in the component model.

Any XML-Java data binding framework should provide standard mappings for these 
types. See JAXB 2.0 [1] for suggested mappings.

[1] http://www.jcp.org/en/jsr/detail?id=222

> 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
>     Assignee: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to