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

INT64

The following table describes the supported castings in each ABL parameter mode (INPUT and OUTPUT) between the ABL INT64 type and XML Schema.
Table 67. ABL data type cast—INT64
For this XML Schema type . . .
In this ABL parameter mode . . .
OpenEdge . . .
string normalizedString
INPUT
Serializes the ABL parameter into the XML Schema value as if the ABL STRING( ) function was called on the INT64 value.
OUTPUT
De-serializes the XML Schema value as if the INT64( ) function was called on string value.
boolean
INPUT
Serializes an INT64 value of 0 to false and all other values to true.
OUTPUT
De-serializes a value of false to an ABL INT64 value of 0, and de-serializes a value of true to an INT64 value of 1.
decimal
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT
De-serializes the XML Schema value as if the INT64( ) function was called on the serialized ABL DECIMAL value. This rounds any positions after the decimal point. If the XML Schema decimal value is outside the range of an ABL INT64, the AVM raises a run-time error.
float
INPUT
Translate the INT64 to a C value, cast to a C float value, and then serialize the ABL INT64 value to a float according to the XML Schema rules. Some of the least significant digits of the INT64 value are lost if the number of digits in the value is large.
OUTPUT
De-serializes the XML Schema value into a C float value and then cast the C value to ABL INT64. If the XML Schema value overflows or underflows an ABL INT64, the AVM raises a run-time error.
double
INPUT
Translate the INT64 to a C value, cast to a C double value, and then serialize the value to a double according to the XML Schema rules.
OUTPUT
De-serializes the XML Schema value into a C double value and cast it to an ABL INT64. If the XML Schema value overflows or underflows an ABL INT64, the AVM raises a run-time error.
integer
nonPositiveInteger
negativeInteger
long
nonNegativeInteger
unsignedLong
unsignedInt
positiveInteger
INPUT
Serializes the ABL parameter into the SOAP request message according to the serialization rules for the XML Schema data type.
OUTPUT
De-serializes the XML Schema value as if the ABL INT64( ) function was called on the value. If the XML Schema value is outside the valid range of an ABL INT64, the AVM raises a run-time error.
long
INPUT
Serializes the ABL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT
De-serializes the XML Schema value as if the ABL INT64( ) function was called on the value.
int
short
byte
unsignedShort
unsignedByte
INPUT
Serializes the ABL parameter into the SOAP request message according to the serialization rules for the XML Schema data type. If the ABL INT64 value is outside the valid range of the XML Schema type, the AVM raises a run-time error.
OUTPUT
De-serializes the XML Schema value as if the ABL INT64( ) function was called on the value.