Web services gateway - Supported types

Note: This page applies to WAS Version 5.0.2 and later only.

When you deploy a Web service, you use the Message part representation option to choose between Generic classes and Deployed Java classes. This topic gives reference information about the data types that are supported in each case.

Simple types
The following table gives a list of the XML schema (and Java equivalent) simple types that are supported by both Generic classes and Deployed Java classes:

XML schema (and Java equivalent) simple type
xsd:string
xsd:float
xsd:double
xsd:int
xsd:boolean
xsd:byte
xsd:short
xsd:long
xsd:decimal
xsd:QName
xsd:date
xsd:timeInstant

Compound types
From a Java perspective, compound types are types with constituent elements. These elements are either identified purely by name (for example, a Java class with several member properties) or by ordinal position (for example, a List data structure like Array or Vector).

The following table gives a list of the SOAP (and Java equivalent) compound types that are supported:

SOAP compound type java equivalent compound type Supported by
Array Java array Generic classes and Deployed Java classes
Vector java.util.Vector Deployed Java classes
Vector java.util.Enumeration Deployed Java classes
Map java.util.Hashtable Deployed Java classes
Map java.util.Map Deployed Java classes

Complex types
A complex type is a data type represented by a Java class (such as a user-written class) that is not part of the native Java language.

Complex types can include combinations of simple types, compound types, and other complex types. For example, the children of a complex type might be represented by another complex type, or by any of the simple or compound types.

Generic classes and Deployed Java classes can both represent complex types, subject to the constraints described in Data type representation - choosing between Generic classes and Deployed Java classes.