Pass Null Value in DateTime Field in soap ui

soapui, xml

Solution

`<rt6:DateofBirth></rt6:DateofBirth>` is not null, but empty String (not in all languages this is the same), use `xsi:nil="true"`, so

<rt6:DateofBirth xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />

Bear in mind that, as Ali Baraka suggests, xsi namespace can be defined at root tag level as `xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"`, which allows you to remove from regular tags

Problem

I Want to Pass null value from Soap UI for Datetime Field one option is that i should delete the tag . There is any other way where i can pass null or some other value in date field. ``` <rt6:DateofBirth></rt6:DateofBirth> ```

Original source