Supported datatypes

This section describes the datatypes supported in WST. The datatype must belong to a supported component type for it to be available as a Web service. Supported datatypes include:

Table 3-1 lists the datatypes supported in WST and EAServer by default, and the equivalent XML XSD types.

Table 3-1: Java datatype and XML equivalents

XML XSD type

Java datatypes

xsd:boolean

org.omg.CORBA.BooleanHolder

xsd:byte

org.omg.CORBA.ByteHolder

xsd:double

org.omg.CORBA.DoubleHolder

xsd:float

org.omg.CORBA.FloatHolder

xsd:int

org.omg.CORBA.IntHolder

xsd:long

org.omg.CORBA.LongHolder

xsd:short

org.omg.CORBA.ShortHolder

xsd:string

org.omg.CORBA.StringHolder

xsd:byte

BCD.BinaryHolder

xsd:decimal

BCD.Decimal

xsd:decimal

BCD.DecimalHolder

xsd:base64Binary (same as byte[])

BCD.Money

xsd:base64Binary (same as byte[])

BCD.MoneyHolder

xsd:double

MJD.Date

xsd:double

MJD.Time

xsd:double

MJD.Timestamp