Data type representation - Choosing between Generic classes and Deployed
Java classes
When you deploy a Web service,
you use the Message part representation option to choose between Generic
classes and Deployed Java classes.
As your message passes through the gateway, the message parts are represented
as actual Java objects. These are the data type definitions that are used
for each part:
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.
Generic classes and Deployed Java classes can both represent
simple, compound and complex data types, subject to the following constraints:
- The gateway only supports the simple and compound types that are listed
in Web services gateway
- Supported types.
- Only Deployed Java classes can represent vectors, enumerations,
hashtables and maps (but either Generic classes or Deployed Java
classes can represent arrays).
- If Deployed Java classes are used to represent complex types, then
the actual Java classes representing these complex types must be deployed
to the application server on which the gateway is running.
- If the target service uses Java or EJB WSDL bindings (that is, if the
target service is a Java class deployed on the local application server, or
it is an enterprise bean) then you must use Deployed Java classes,
and you must make the bindings available as described in Deploying Web services with Java bindings.
The gateway schema parser determines all top-level types that are defined
in the WSDL schema section, and generates mappings to generic classes for
all of these types. This mapping enables the gateway to forward requests (and
responses) containing most complex data type parameters (and return values)
to a remote destination without requiring the actual Java classes representing
these complex types to be deployed to the application server on which the
gateway is running. If your Web service uses complex data types, and there
is no other constraint that forces you to use Deployed Java classes,
then select Generic classes.
Performance is the same whether you choose to use Deployed Java classes or Generic
classes.

Complex data types - Mapping namespaces to packages

Deploying Web services to the Web services gateway
Deploying Web services with Java bindings

Web services gateway - Supported types
Searchable topic ID:
cwsg_types_mprep
Last updated: Jun 21, 2007 4:55:42 PM CDT
WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/cwsg_types_mprep.html