Michael_Heinze
15 years agoContributor
[SOLVED]import empty datetime from datasource problem
hi,
in our app we have daylight savings where we either import a datetime or just the month, week, day. so when i enter the month,... i need to leave the datetime empty. this works fine as long as i use a soapui teststep. but when i try to import the empty datetime value from excel i am getting an error:
The string '' is not a valid AllXsd value.
i also tried to create a property expansion variable with nothing entered but get the same error.
i cannot use the remove empty content setting in the teststep as this removes other fields which are needed in the wsdl but have no nodes.
is there a way to change the datetime field from this:
3
Third
Sunday
to use nil and not empty:
3
Third
Sunday
thanks
in our app we have daylight savings where we either import a datetime or just the month, week, day. so when i enter the month,... i need to leave the datetime empty. this works fine as long as i use a soapui teststep. but when i try to import the empty datetime value from excel i am getting an error:
The string '' is not a valid AllXsd value.
i also tried to create a property expansion variable with nothing entered but get the same error.
i cannot use the remove empty content setting in the teststep as this removes other fields which are needed in the wsdl but have no nodes.
is there a way to change the datetime field from this:
to use nil and not empty:
thanks