Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetTypeDefFieldDef
 
awGetTypeDefFieldDef
BrokerError awGetTypeDefFieldDef(
BrokerTypeDef type_def,
char *field_name,
BrokerTypeDef *field_def);
type_def
The event type definition.
field_name
The name of a field whose type definition is to be obtained.
field_def
The field's type definition. This parameter is used for output.
Obtains the field definition for the field with field_name. See Specifying Field Names for complete information on specifying field_name.
Possible BrokerError major codes
Meaning
AW_ERROR_FIELD_NOT_FOUND
The field_name does not exist in the event type.
AW_ERROR_FIELD_TYPE_MISMATCH
The field_name incorrectly accesses a type, such as using a subscript on a non-sequence field.
AW_ERROR_INVALID_FIELD_NAME
The field_name is invalid.
AW_ERROR_INVALID_TYPEDEF
The type_def parameter is invalid.
AW_ERROR_NULL_PARAM
The field_name or field_def parameter is NULL.
See also: