Web services gateway - Supported types

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.


Related concepts
Data type representation - Choosing between Generic classes and Deployed Java classes
Complex data types - Mapping namespaces to packages
Related tasks
Deploying Web services to the Web services gateway
Deploying Web services with Java bindings



Searchable topic ID:   rwsg_types_supported
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/rwsg_types_supported.html

Library | Support | Terms of Use | Feedback