Visual Studio Service Reference is not generating DateTime Specified fields

I have added a Service Reference to my local SOAP wsdl file in Visual Studio. The datetime properties in service wsdl were marked with minOccurs=”0″ like this: But in generated Reference.cs class was no field like validToSpecified or validFromSpecified. In Reference.svcmap you need to specify this two attributes (Note: in most cases the Serializer will … Read moreVisual Studio Service Reference is not generating DateTime Specified fields