NonStop SOAP 4.1 User's Manual
Synopsis:
AXIS2_EXTERN void axis2_svc_client_fire_and_forget
( axis2_svc_client_t * svc_client,
const axutil_env_t * env,
const axiom_node_t * payload
)
Parameters:
svc_client
is a pointer to the service client structure.
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
payload
is a pointer to the AXIOM node representing the XML payload to be sent. The caller controls
the payload until the service client releases it.
Return Value:
Void
APIs for Logging
The NonStop SOAP 4 API includes the AXIOM logging APIs used to create and log messages.
The logging API enables you to specify the name and location of the log file and the level of
messages to be logged.
Creating the log file structure
The axutil_log_create()function is called to create the log file structure.
Synopsis:
AXIS2_EXTERN axutil_log_t * axutil_log_create
(axutil_allocator_t *allocator,
axutil_log_ops_t *ops,
const axis2_char_t *stream_name)
Parameters:
allocator
is an input parameter and a pointer to the axutil_allocator structure.
ops
is an input parameter and is a pointer to the options structure for logging.
stream_name
is an input parameter and is a pointer to the file name and location where the log must be
created.
Return Values:
Pointer to the newly created log structure. If an error occurs, it returns NULL.
Logging messages at different log levels
After you have created the log structure, use the following functions to log messages at different
logging levels:
• “The axutil_log_impl_log_warning()Function” (page 116)
• “The axutil_log_impl_log_info() Function” (page 116)
• “The axutil_log_impl_log_user()Function” (page 116)
NonStop SOAP 4 Client APIs 115










