Eviware Forum

soapUI => soapUI => Topic started by: Kevin Slade on February 04, 2008, 01:18:43 am



Title: WSDL fields with min=1, Max=1, nillable,type=DateTime are seen as mandatory
Post by: Kevin Slade on February 04, 2008, 01:18:43 am
<s:element minOccurs="1" maxOccurs="1" name="endDate" nillable="true" type="s:dateTime" />

This is regarded by SoapUI as a mandatory field and must have a valid DateTme entry.

The correct behaviour should be to allow an empty field to be used and if the value is empty (nill) the XML should have a corresponding entry of:

 
                  <endDate xsi:nil="true"/>

A WSDL file that has this property set is attached.


Title: Re: WSDL fields with min=1, Max=1, nillable,type=DateTime are seen as mandatory
Post by: omatzura on February 04, 2008, 11:26:10 am
Hi Kegin,

thanks, this should be fixed in the next update..

regards!

/Ole
eviware.com