I have the following schema that defines a complex type,
I would like to take the following WSDL:
<xsd:complexType name="changeType">
<xsd:sequence>
<xsd:element name="dollar" type="xsd:float"/>
<xsd:element name="percent" type="xsd:float"/>
<xsd:element name="positive" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
And create java POJO, what the SourceGenerator does
is it creates a ChangeType abstract class and a Change class
which subclasses that. Why is this necessary?
Also, it adds methods that keep track of whether or
the the fields actually have a value, for example:
public boolean hasPercent()
Why does it need to do all this, why can it just create a
simple java bean object with no superclass and not hasXXX
methods?
Raj
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user