Default BDL/XML mapping

By default, Genero Web Services maps BDL variables in the input or output messages of a WS application to their corresponding XML data types, enabling values to be passed between applications and Web Services. The XML data types conform to the standard XML Schema Definition (XSD):

Table 1. Default XML Mapping
data type of BDL variable Default XML data type
BYTE xsd:base64binary
CHAR xsd:string
DATE xds.date
DATETIME YEAR TO FRACTION(1-5) xsd:dateTime
DATETIME YEAR TO SECOND xsd:dateTime
DATETIME YEAR TO HOUR xsd:dateTime
DATETIME YEAR TO MINUTE xsd:dateTime
DATETIME YEAR TO YEAR xsd:gYear
DATETIME YEAR TO MONTH xsd:gYearMonth
DATETIME YEAR TO DAY xsd:date
DATETIME MONTH TO MONTH xsd:gMonth
DATETIME MONTH TO DAY xsd:gMonthDay
DATETIME DAY TO DAY xsd:gDay
DATETIME HOUR TO HOUR xsd:time
DATETIME HOUR TO MINUTE xsd:time
DATETIME HOUR TO SECOND xsd:time
DATETIME HOUR TO FRACTION(1-5) xsd:time
DECIMAL xsd:decimal
FLOAT xsd:double
INTEGER xsd:int
INTERVAL xsd:duration
SMALLFLOAT xsd:float
SMALLINT xsd:short
STRING xsd:string
TEXT xsd:string
VARCHAR xsd:string
TINYINT xsd:byte
BIGINT xsd:long
BOOLEAN xsd:boolean

In addition, the Web Service Style that you use determines what default XMLName attributes are assigned to variables.