Why is an XSD element of type s:date becoming a string when generating a Service Reference?
问题 I'm trying to create a new Service Reference from a WSDL and all of the properties I expect to be DateTime instead of string. For example, this xsd definition for Contact: <s:complexType name="Contact"> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:Address" /> <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" /> ... <s:element minOccurs="1" maxOccurs="1" name="BirthDate" type="s:date" /> </s:sequence> The type of BirthDate is s:date, but the