Overview Module Function Class I*Tea 3.6.8 Reference Documentation© 2013 PDM&FC

Function itea-ws-type-struct

itea-ws-type-struct wsName typeName partsList
itea-ws-type-struct wsName typeName partsList description

Declares a complex type corresponding to a structure.

Parameters:
wsName - The web service descriptor the type will be added to.
typeName - Symbol representing the name of the type being declared.
partsList - List of parts for this type. Each element in this list is a two or three element list. The first element is a symbol representing the part name. The second element is a symbol representing the part type. The this (optional) element is a boolean stating if the part is mandatory ($true means that it is - ie. must occur). The fourth element (optional) is a string with the description of this part.
Description - Optional parameter with a description to assign to the new type.

The wsName argument is a symbol. A variable identified by that symbol must be accessible in the current context and it must contain a web service descriptor object. This function is tipically called after creating the web service descriptor object by a call to the itea-ws function.

The type names in the parts list can be a previouly declared type or the name of a basic type. The following basic types are supported:


Overview Module Function Class ${tea.teadoc.header}
Report a bug or request new features
© 2013