Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Data Types | Data Types in IData Objects
 
Data Types in IData Objects
Data is passed in and out of a service through an IData object. An IData object is the collection of name/value pairs on which a service operates. An IData object can contain any number of elements of any valid Java objects, including additional IData objects and IDataCodable objects.
Each element stored in an IData object corresponds to a data type. The following table identifies the data types supported by Designer.
Data Type
Icon
Description
Java Class
String
String of characters.
java.lang.String
String list
A one-dimensional String array.
java.lang.String[ ]
String table
A two-dimensional String array.
java.lang.String[ ][ ]
Document
A data structure that is a container for other variables. Documents can contain variables of any other data type. The contents of a document (IData object) are stored as key/value pairs where the variable name is the key.
com.wm.data.IData
com.wm.util.Values
For more information, see the webMethods Integration Server Java API Reference.
Document list
A one-dimensional array of IS document types (IData [ ]or Values [ ]).
com.wm.data.IData [ ]
com.wm.util.Values [ ]
com.wm.util.Table
Document reference
A document whose structure is defined by an IS document type.
Reference to an existing object which implements the com.wm.data.IData interface or a reference to an existing com.wm.util.Values object.
Document reference list
A document list whose structure is defined by an IS document type.
Reference to an existing object which implements the com.wm.data.IData interface or a reference to an existing com.wm.util.Values object.
Object
A data type that does not fall into any of the data types described in the above rows, and is not declared to be one of the basic Java classes supported natively by Integration Server. This icon is used for Objects of unknown type.
Any subclass of java.lang.Object.
Example:
java.io.InputStream
Object list
An array of Objects of unknown type.
An array of any subclass of java.lang.Object.
Example:
java.io.InputStream[ ]
Note:Designer displays small symbols next to variable icons to indicate validation constraints. Designer uses to indicate an optional variable and the ‡ symbol to denote a variable with a content constraint. Designer also uses to indicate that the variable has a default value that can be overridden assigned to it and to indicate that the variable has a null value that cannot be overridden assigned to it. A combination of the and symbols next to a variable icon indicates that the variable has a fixed default value that is not null and cannot be overridden.