Hi,
I'm using XFire 1.2.4 for "wsdl to java" code generation, and I need a
little help about the behavoiur of XFire when it read the attribute
'nillable' of an element.
I'm using a wsdl that contains the following element
--------------------------------------------------------
<xsd:element name="req">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="dataInt" type="xsd:int"
nillable="false"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
--------------------------------------------------------
This element is mapped in a java class that contains an attribute named
'dataInt'.
If the nillable attribute is false then the attribute is mapped in a
primitive int,
otherwise the attribute is mapped in an Integer (the associated wrapper
class).
This is a logical situation but I need to configure XFire to mapping the
attribute always in the primitive java data type.
So, my questions for list are ...
1) there is a way to configure XFire for using only the java primitive
data types ?
2) If this way exists, where I can find documentation or examples to
study ?
thanks
mirco
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email