Suggested mappings
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The WSDL Analyzer's generated documentation provides recommended mappings between Web
service parameters and ABL parameters. These are the mappings that are most semantically
useful. Wherever the WSDL file indicates that a parameter of any data type is
nillable, this means that on the Web service side the parameter can have
the null value and on the ABL side the parameter can pass the ABL Unknown value
(?).
The following table lists all the simple XML Schema data types in alphabetical order, showing for each one the suggested ABL data type for mapping it.
| XML Schema data type | ABL data type | Notes |
|---|---|---|
anyURI
|
CHARACTER
|
– |
base64Binary
|
RAW
|
You can use the ABL BASE64-ENCODE and
BASE64-DECODE functions to convert between Base 64 clear text
(CHARACTER or LONGCHAR) and binary data
(RAW or MEMPTR). |
boolean
|
LOGICAL
|
– |
byte
|
INTEGER
|
On INPUT, if the ABL INTEGER
value is outside the valid range of the XML Schema byte type, it is
a run-time error. |
date
|
DATE
|
On OUTPUT, any time zone information is lost. To
retain it, use an ABL CHARACTER parameter. |
dateTime
|
DATETIME-TZ
|
– |
decimal
|
DECIMAL
|
The ABL DECIMAL type might not hold the entire XML
Schema decimal value. However, the industry common practice is to
map between XML Schema decimal and another decimal data type.On
|
double
|
CHARACTER
|
– |
duration
|
CHARACTER
|
– |
ENTITIES
|
CHARACTER
|
– |
ENTITY
|
CHARACTER
|
– |
float
|
CHARACTER
|
– |
gDay
|
CHARACTER
|
– |
gMonth
|
CHARACTER
|
– |
gMonthDay
|
CHARACTER
|
– |
gYear
|
CHARACTER
|
– |
gYearMonth
|
CHARACTER
|
– |
hexBinary
|
RAW
|
– |
ID
|
CHARACTER
|
– |
IDREF
|
CHARACTER
|
– |
IDREFS
|
CHARACTER
|
– |
int
|
INTEGER
|
– |
integer
|
DECIMAL
|
The ABL DECIMAL type might not hold the entire XML
Schema integer value, but it is a better choice than the ABL
INTEGER type. On On
|
Language
|
CHARACTER
|
– |
long
|
INT64
|
– |
Name
|
CHARACTER
|
– |
NCName
|
CHARACTER
|
– |
negativeInteger
|
DECIMAL
|
The ABL DECIMAL type might not hold the entire XML
Schema negativeInteger value, but it is a better choice than the
ABL INTEGER type.On On
|
NMTOKEN
|
CHARACTER
|
– |
NMTOKENS
|
CHARACTER
|
– |
nonNegativeInteger
|
DECIMAL
|
The ABL DECIMAL type might not hold the entire XML
Schema nonNegativeInteger value, but it is a better choice than the
ABL INTEGER type.On On
|
nonPositiveInteger
|
DECIMAL
|
The ABL DECIMAL type may not hold the entire XML
Schema nonPositiveInteger value, but it is a better choice than the
ABL INTEGER type.On On
|
normalizedString
|
CHARACTER
|
– |
NOTATION
|
CHARACTER
|
– |
positiveInteger
|
DECIMAL
|
The ABL DECIMAL type may not hold the entire XML
Schema positiveInteger value, but it is a better choice than the
ABL INTEGER type.On On
|
qName
|
CHARACTER
|
– |
short
|
INTEGER
|
On INPUT, if the ABL INTEGER
value is outside the valid range of the XML Schema short type, it
is a run-time error. |
string
|
CHARACTER
|
– |
time
|
INTEGER
|
On INPUT, the value is converted with no time zone
information. |
token
|
CHARACTER
|
– |
unsignedByte
|
INTEGER
|
On INPUT, if the ABL INTEGER
value is outside the valid range of the XML Schema unsignedByte
type, it is a run-time error. |
unsignedInt
|
DECIMAL
|
On INPUT, if the ABL DECIMAL
value is outside the valid range of the XML Schema unsignedInt
type, it is a run-time error. On |
unsignedLong
|
DECIMAL
|
On INPUT, if the ABL DECIMAL
value is outside the valid range of the XML Schema unsignedLong
type, it is a run-time error. On |
unsignedShort
|
INTEGER
|
On INPUT, if the ABL INTEGER
value is outside the valid range of the XML Schema unsignedShort
type, it is a run-time error. |