Folks in axis-dev, there's a discussion going on in axis-user about what
WSDL2Java generates.  Given:

> >   <complexType name="Object">
> >     <sequence>
> >           [...]
> >     </sequence>
> >   </complexType>
> >
> >   <complexType name="Folder">
> >     <complexContent>
> >       <extension base="types:Object">
> >         <sequence>
> >           [...]
> >         </sequence>
> >       </extension>
> >     </complexContent>
> >   </complexType>
> >
> >   <message name="addInput">
> >     <part name="input" type="types:Object"/>
> >   </message>
> >   <message name="addOutput">
> >     <part name="result" type="xsd:string"/>
> >   </message>
> >
> >   <operation name="add">
> >     <input message="cm:addInput"/>
> >     <output message="cm:addOutput"/>
> >   </operation>

There are 2 types here:  Object, and Folder (for which Object is the base).
Object is generated because it's in the addInput message which is in the
add operation.  Folder is NOT generated because it isn't referenced
anywhere.  But perhaps it SHOULD be generated because it COULD be used as
an Object?

Question:  what is the right thing to do?

Russell Butek
[EMAIL PROTECTED]

Reply via email to