[
https://issues.apache.org/jira/browse/XMLBEANS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480449
]
Federica Ciotti commented on XMLBEANS-318:
------------------------------------------
Thank you for the quick reply Jacob.
I will try to explain my doubts.
1. I have a doc/lit wsdl
2."Why don't I get SaveBusiness interface contained in SaveBusinessDocument?"
This question comes form the example that comes with axis2 1.1.1 and from the
code shown here
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example/xmlbeans-client.
In both cases the generated classes look like this:
public interface AddBookDocument extends org.apache.xmlbeans.XmlObject
{
.....
public interface AddBook extends org.apache.xmlbeans.XmlObject
{............... }
public static final class Factory
{.................}
}
When using my wsdl the two different interfaces are generate in different files.
I see it has the same semantic.
I'm referring to the wsd2java options -u, Unpack classes. This option specifies
whether to unpack the classes and generate separate classes for the
databinders.
(http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html#example)
3. "In addition to this, the #####Document versions of classes and interfaces
are generated for all complex elements in xsd, and not only for those used in
wsdl <message> element as expected. "
XXDocument is generated for global elements in the schema, right? Ok I
understand now. This is way all my complex types have a XXDocument... but I
only need the XXDocument referenced in wsdl<message> element.
Many Thanks
> 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
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]