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

LOGICAL

The following table describes the supported castings in each ABL parameter mode (INPUT and OUTPUT) between the ABL LOGICAL type and XML Schema.
Table 69. ABL data type cast—LOGICAL
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 XML Schema string type as if it was a serialized boolean value.
boolean
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT
De-serializes the XML Schema value into the ABL parameter according to the XML Schema serialization rules.
decimal float double
INPUT
Serializes an ABL LOGICAL value of true to an XML Schema type value of 1, and serializes a LOGICAL value of false to an XML Schema type value of 0.
OUTPUT
De-serializes an XML Schema value of 0 to an ABL LOGICAL value of false, and all other XML Schema values to a LOGICAL value of true.
integer
nonPositiveInteger
long
int
short
byte
nonNegativeInteger
unsignedLong
unsignedIn
unsignedShort
unsignedByte
INPUT
Serializes an ABL LOGICAL value of true to an XML Schema type value of 1 (or -1 for a nonPositiveInteger), and serializes a LOGICAL value of false to an XML Schema type value of 0.
OUTPUT
De-serializes an XML Schema value of 0 to an ABL LOGICAL value of false, and all other XML Schema values to a LOGICAL value of true.