Try OpenEdge Now
skip to main content
Web Services
Data Type Conversion Rules for ABL Calls to OpenEdge SOAP Web Services : DATETIME
 

DATETIME

The following table describes the supported castings in each ABL parameter mode (INPUT and OUTPUT) between the ABL DATETIME type and XML Schema.
Table 64. ABL data type cast—DATETIME
For this XML Schema type . . .
In this ABL parameter mode . . .
OpenEdge . . .
string normalizedString
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT
De-serializes the string value from the SOAP response message into the ABL parameter as if the ABL DATETIME( ) function was called on the string.
dateTime
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules without a time zone.
OUTPUT
De-serializes the XML Schema value from the SOAP response message into the ABL parameter according to the XML Schema serialization rules with the value set to the local time adjusted from any time zone information (which is stripped away). If there is no time zone information the value is stored as is.
date
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules. The time part of the DATETIME value is lost.
OUTPUT
De-serializes the XML Schema value from the SOAP response message into the ABL parameter according to the XML Schema serialization rules with the date adjusted for any time zone information (which is stripped away). The ABL DATETIME value has the time set to 12:00 midnight.