NonStop SOAP 4.1 User's Manual
The axutil_error_set_error_number() Function
Synopsis:
AXIS2_EXTERN axis2_status_t axutil_error_set_error_number
( struct axutil_error * error,
axutil_error_codes_t error_number )
Description:
This function sets the error number to the given value.
Parameters:
error
is a pointer to an error structure instance.
error_number
is the error number to be set.
Return Values:
This function returns AXIS2_SUCCESS on success, else returns AXIS2_FAILURE.
The axutil_error_set_status_code() Function
Synopsis:
AXIS2_EXTERN axis2_status_t axutil_error_set_status_code
( struct axutil_error * error,
axis2_status_codes_t status_code)
Description:
This function sets the status code to the given value.
Parameters:
error
is a pointer to an error structure instance.
status_code
is the status code to be set
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The axutil_error_get_status_code() Function
Synopsis:
AXIS2_EXTERN axis2_status_t axutil_error_get_status_code
( struct axutil_error * error )
Description:
This function gets the status code.
Parameters:
error
is a pointer to an error structure instance.
Return Values:
This function returns the last status code set in the error structure instance.
Utilities For String Operations
The following functions enable you to perform string operations in NonStop SOAP 4.
Utilities 379










