Hi All,
I am also facing null value problem.can you suggest me a solution.
in my wsdl file i have
<xsd:simpleType name="VehicleType" >
<xsd:annotation>
<xsd
ocumentation>Defines the available vehicle types</xsd
ocumentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="sedan"/>
<xsd:enumeration value="suv"/>
<xsd:enumeration value="van"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Reservation">
<xsd:element maxOccurs="1" minOccurs="0" name="vehicleType" type="xsd1:VehicleType" nillable="true"/>
</xsd:complexType>
And in my ws-application.xml file:
<mapping>
<schemaType>VehicleType</schemaType>
<javaType>....model.VehicleType</javaType>
<holder>....model.VehicleTypeHolder</holder>
</mapping>
I have placed nillble="true" in wsdl file.
But where can i place xsi:nil="true".
How can i give null.
Awaiting for your reply,
siraj.