You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Federica Ciotti (JIRA)" <xm...@xml.apache.org> on 2007/04/25 11:45:16 UTC

[jira] Commented: (XMLBEANS-318) not able to generate inner classes/interfaces

    [ https://issues.apache.org/jira/browse/XMLBEANS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491579 ] 

Federica Ciotti commented on XMLBEANS-318:
------------------------------------------

Hi Jacob, 
Thanks for providing me this link, it is a very exhaustive explanation of XML schemas design strategies.

I found out that my schema follows the design strategy "Venetian Blind" and thus all the elements, complexTypes and simpleTypes are declared globally. 
All the others example I looked at were "Russian doll".

It is clear how this design aspect influences the generated classes.

The problem was that I have a very complex schema and I haven't possibilities to change it. I just wanted to understand if there was a way to reduce the number of generated classes.

Many Thanks.

Federica Ciotti 

> not able to generate inner classes/interfaces
> ---------------------------------------------
>
>                 Key: XMLBEANS-318
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-318
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.2
>         Environment: Linux Fedora fc5, tomcat 6.0.7, java1.5.0_11, Axis2 1.1.1, xmlbeans 2.2.0
>            Reporter: Federica Ciotti
>         Assigned To: Jacob Danner
>            Priority: Minor
>
> I'm using the wsdl2java axis ant task with xmlbeans.
> For each complex element in my xsd referenced in wsdl, let say save_business, I get 
> the two interfaces:
> SaveBusiness.java
> SaveBusinessDocument.java
> and the two classes:
> impl/SaveBusinessDocumentImpl.java
> impl/SaveBusinessImpl.java
> Why don't I get SaveBusiness interface contained in SaveBusinessDocument?
> I thought it depends on the -u options but using this option doesn't make any difference in my case.
>   Many Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org