NonStop SOAP 4.1 User's Manual

D NonStop SOAP 4 APIs
This appendix lists the following NonStop SOAP 4 APIs:
AXIOM APIs (page 316)
“Client API Module” (page 343)
“Context Hierarchy” (page 365)
“Service Skeleton API” (page 373)
“Utilities (page 374)
AXIOM APIs
Attributes
The axiom_attribute_create()Function
The axiom_attribute_create()function creates an AXIOM attribute structure.
Synopsis:
AXIS2_EXTERN axiom_attribute_t* axiom_attribute_create
( const axutil_env_t * env,
const axis2_char_t * localname,
const axis2_char_t * value,
axiom_namespace_t * ns )
Parameters:
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
localname
is an input parameter and is a pointer to the local name of the attribute. It cannot have a NULL
value.
value
is an input parameter and is a pointer to the normalized attribute value. It cannot have a NULL
value.
ns
is an input parameter and is a pointer to the namespace, if any, of the attribute. It is an optional
parameter and can have a NULL value.
Return Values:
Pointer to the newly created attribute structure. If an error occurs, it returns NULL.
The axiom_attribute_free() Function
Synopsis:
AXIS2_EXTERN void axiom_attribute_free
( struct axiom_attribute * om_attribute,
const axutil_env_t * env )
Description:
This function frees an axiom_attribute structure.
Parameters:
om_attribute
is a pointer to the attribute structure to be freed.
316 NonStop SOAP 4 APIs