Complex data types - Mapping namespaces to packages

If you write your own WSDL file that describes your Web service (rather than use an automated tool such as WebSphere Studio Application Developer) and the service uses complex data types, then follow these guidelines for mapping namespaces to packages.

For working with complex data types, there is no industry-wide standard way of mapping namespaces to packages (in fact the Java API for XML-based Remote Procedure Call (JAX-RPC) standard states that the tools must make up their own standard). This is the standard used by the gateway:

For example, if the Java class you are using for the complex data type is random.RandomData, then the namespace of the complex data type is random, and the complex data type name is RandomData. And if the full package name is com.ibm.www.random, then the namespace is www.ibm.com/random.

See also the troubleshooting tip about working with Web services that use complex data types.


Related concepts
Data type representation - Choosing between Generic classes and Deployed Java classes
Related tasks
Deploying Web services to the Web services gateway
Deploying Web services with Java bindings
Related reference
Web services gateway - Supported types



Searchable topic ID:   cwsg_types_mapname
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/cwsg_types_mapname.html

Library | Support | Terms of Use | Feedback