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:
JAX-RPC defined data types – Refer to chapter four (WSDL/XML to Java Mapping) and five (Java to XML/WSDL Mapping) of the Java API for XML-based RPC JAX-RPC 1.0 specification. See the JAX-RPC download site
Java with IDL datatypes – the component’s method declarations use the datatype mappings that are specified by the CORBA document, IDL to Java Language Mapping Specification (formal/99-07-53).
CORBA C++ with IDL datatypes – the component’s method declarations use the OMG standard for translating CORBA IDL to C++. For more specifics, see C++ Language Mapping Specification (formal/99-07-41). You can download this document from the OMG Web site. C++ datatype mappings are the same as the Java/IDL component datatype mappings that are listed in Table 3-1.
Table 3-1 lists the datatypes supported in WST and EAServer by default, and the equivalent XML XSD types.
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  | 
| Copyright © 2005. Sybase Inc. All rights reserved. | 
 
 | 
|