Webservice provider with nullable datetime: please follow standard behaviour!
2356
Views
3
Comments
Implemented
Data & Integrations
Development Environment 9.0.0.1

In the latest update 6.0.1.7+ outsystems improved web service reference, which now allows for nulliable datetime. (See below)


However it does not allow for nullable datetime for web service providers, that means

nulldate in a SOAP web service response will return 

1900-01-01T00:00:00. rather than an empty element.


Please fix the web service provider null date time issue with the standard nulliable date behaviour (ie Have an option not to include the nulldate as 1900-01-01T00:00:00 but rather an empty element)
 

"XML Schema: Structures introduces a mechanism for signaling that an element should be accepted as ·valid· when it has no content despite a content type which does not require or even necessarily allow empty content. An element may be ·valid· without content if it has the attribute xsi:nil with the value true. An element so labeled must be empty, but can carry attributes if permitted by the corresponding complex type."

 




-------------------------------------------------


Service Studio 6.0.1.7 (2011-11-19) 

? What's new in 6.0.1.7 

o Web Reference enhancements: 

? Support for Null and Nillable parameters and attributes (#253956) 

This can be seen in the image below



REF: https://www.outsystems.com/help/servicestudio/6.0/Designing_Actions/Input_Parameter_Properties.htm

This seems more of a bug to me than anything else. Have you reported it to OutSystems support?
In version 9 all the options they created here are removed. It is now impossible to set a field to optional / mandatory.
See the manual: https://www.outsystems.com/help/servicestudio/9.0/Integrating_with_other_systems/Web_Services/OutSystems_Data_Types_to_XML_Data_Types.htm

I would like to see that Outsystems fixes the SOAP Webservices with the default behavior.
Changed the status to
Implemented
on 01 Jan 2016

Hi Nuno,

This feature was implemented and released on SOAP consume at a long time ago. At least since outSystems 9.

Using the default value behavior you can configure how to send Null values. You have 3 option: Yes, No, Send Nill. The last one may do what you want.

Thanks.