Datatype mapping

The following table shows SOAP datatypes and their corresponding types in Adaptive Server Enterprise.

Table C-1: SOAP and Adaptive Server Enterprise datatypes

SOAP datatype

Adaptive Server Enterprise datatype

string

varchar Length depends on Adaptive Server Enterprise page size.

boolean

smallint

float

real

double

double precision

decimal

float

duration

datetime

dateTime

datetime

time

datetime

date

datetime

gYearMonth

datetime

gYear

datetime

gMonthDay

datetime

gDay

datetime

gMonth

datetime

hexBinary

Unsupported

base64Binary

Unsupported

anyURI

varchar Length depends on Adaptive Server Enterprise page size.

QName

varchar Length depends on Adaptive Server Enterprise page size.

NOTATION

varchar Length depends on Adaptive Server Enterprise page size.

normalizedString

varchar Length depends on Adaptive Server Enterprise page size.

token

varchar Length depends on Adaptive Server Enterprise page size.

language

varchar Length depends on Adaptive Server Enterprise page size.

NMTOKEN

varchar Length depends on Adaptive Server Enterprise page size.

Name

varchar Length depends on Adaptive Server Enterprise page size.

NCName

varchar Length depends on Adaptive Server Enterprise page size.

ID

varchar Length depends on Adaptive Server Enterprise page size.

IDREF

varchar Length depends on Adaptive Server Enterprise page size.

ENTITY

varchar Length depends on Adaptive Server Enterprise page size.

integer

integer

nonPositiveInteger

integer

negativeInteger

integer

long

integer

int

integer

short

smallint

byte

tinyint

nonNegativeInteger

integer

unsignedLong

integer

unsignedInt

integer

unsignedShort

smallint

unsignedByte

tinyint

positiveInteger

integer