Pass the Null value in the DateTime field in soap ui

I want to pass a null value from the soap interface for the Datetime field, one option is that I have to remove the tag. There is another way when I can pass a null value or some other value in a date field.

<rt6:DateofBirth></rt6:DateofBirth> 
+7
xml soapui
source share
1 answer

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

 <rt6:DateofBirth xsi:nil="true" /> 

where the xsi namespace is xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .

+9
source share

All Articles