NonStop SOAP 4.1 User's Manual

attribute
is an input parameter and is a pointer to the attribute to be added to the element. It cannot
have a NULL value.
node
is an input parameter and is a pointer to the axiom_node_t node that contains om_element.
It cannot have a NULL value.
Return values:
AXIS2_SUCCESS on success.
AXIS2_FAILURE on failure.
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_document_build_all()Function
The axiom_document_build_all()function builds the XML input stream from the current
position of the XML input stream till the end of the root element.
AXIS2_EXTERN axiom_node_t* axiom_document_build_all
( struct axiom_document * document,
const axutil_env_t * env )
Parameters:
document
is an input parameter and is a pointer to the axiom_document_t structure to be built.
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
NonStop SOAP 4 Client APIs 109