Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hello,
If the element is nillable in the schema (has nillable="true") then leaving the value empty in the Form editor should produce a correct null value (xsi:nil="true"). However, this also requires the element not to be optional, else soapUI will remove it instead. If you require an element to be both optional and nillable and want to send a null value, then you would have to write an event handler. There is an example of doing something similar to this here under "Using an Event Handler".
Regards,
Dain
eviware.com
If the element is nillable in the schema (has nillable="true") then leaving the value empty in the Form editor should produce a correct null value (xsi:nil="true"). However, this also requires the element not to be optional, else soapUI will remove it instead. If you require an element to be both optional and nillable and want to send a null value, then you would have to write an event handler. There is an example of doing something similar to this here under "Using an Event Handler".
Regards,
Dain
eviware.com
Related Content
Recent Discussions
- 5 days agoemoya