This topic shows the default mapping of WSDL definitions to and from EGL types. You can override the default value for a given EGL field by using the primitive field-level property @xsd.
The next table shows the default mapping of built-in XML subschema definition (XSD) simple types to the EGL types.
XSD simple type | EGL type |
---|---|
xsd:string | STRING |
xsd:integer | NUM |
xsd:int | INT |
xsd:long | BIGINT |
xsd:short | SMALLINT |
xsd:decimal | DECIMAL |
xsd:float | SMALLFLOAT |
xsd:double | FLOAT |
xsd:boolean | SMALLINT |
xsd:byte | HEX |
xsd:unsignedInt | BIGINT |
xsd:unsignedShort | INT |
xsd:unsignedByte | HEX |
xsd:QName | STRING |
xsd:dateTime | TIMESTAMP |
xsd:date | DATE |
xsd:time | TIME |
xsd:anyURI | STRING |
xsd:base64Binary | HEX[] |
xsd:hexBinary | HEX[] |
xsd:anySimpleType | STRING |
xsd:duration | INTERVAL |
xsd:gYearMonth | STRING |
xsd:gYear | STRING |
xsd:gMonthDay | STRING |
xsd:gDay | STRING |
xsd:gMonth | STRING |
xsd:normalizedString | STRING |
xsd:token | STRING |
xsd:language | STRING |
xsd:Name | STRING |
xsd:NCName | STRING |
xsd:ID | STRING |
xsd:NMTOKEN | STRING |
xsd:NMTOKENS | STRING[] |
xsd:nonPositiveInteger | DECIMAL |
xsd:negativeInteger | DECIMAL |
xsd:nonNegativeInteger | DECIMAL |
xsd:unsignedLong | DECIMAL |
xsd:positiveInteger | DECIMAL |
The next table shows the default mapping of SOAP encoded types to the EGL types.
SOAP encoded type | EGL type |
---|---|
soapenc:string | STRING |
soapenc:boolean | SMALLINT |
soapenc:float | SMALLFLOAT |
soapenc:double | FLOAT |
soapenc:decimal | DECIMAL |
soapenc:int | INT |
soapenc:short | SMALLINT |
soapenc:byte | HEX |
soapenc:base64 | HEX[] |
The next table shows the default mapping of EGL types to XSD types. A derived XSD simple type is created for each entry that says derived from.
EGL type | XML schema mapping |
---|---|
BIGINT | xsd:long |
BIN(4) without decimals | xsd:short |
BIN(9) without decimals | xsd:int |
BIN(18) without decimals | xsd:long |
BIN with decimals | derived from xsd:decimal |
CHAR | derived from xsd:string |
DATE | xsd:date |
DBCHAR | derived from xsd:string |
DECIMAL | derived from xsd:decimal |
FLOAT | xsd:double |
HEX | derived type xsd:hexBinary |
INT | xsd:int |
INTERVAL | xsd:duration |
MBCHAR | derived from xsd:string |
MONEY | derived from xsd:decimal |
NUM | derived from xsd:decimal |
NUMC | derived from xsd:decimal |
PACF | derived from xsd:decimal |
SMALLFLOAT | xsd:float |
SMALLINT | xsd:short |
STRING | xsd:string |
TIME | xsd:time |
TIMESTAMP | xsd:dateTime |
UNICODE | derived from xsd:string |
Related concepts
EGL interfaces
EGL services and Web services
Related tasks
Creating an EGL Interface part
Creating an Interface part from a Service part
Creating an EGL Service part
Related reference
@xsd