NonStop SOAP 4.1 User's Manual

axiom_node_t* node,
axis2_msg_ctx_t *msg_ctx);
Parameters:
svc_skeleton
is an input parameter that points to the service skeleton structure created in the
axis2_get_instance()function.
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
node
is an input parameter and is an AXIOM node that contains the SOAP request from the client.
msg_ctx
is an input parameter and is the message context structure of the service.
NOTE:
The AXIOM node is the principle data structure exposed by the NonStop SOAP 4 server that
defines the request and response data elements.
Message context is the structure that contains the request-specific parameters for a SOAP
request.
Return values:
Pointer to the AXIOM node that points to the response received from the service.
The fault Function
The fault function, set in the service skeleton structure, implements the fault handling logic of the
service and is called by NonStop SOAP 4 if a fault occurs while processing a request in the service.
Synopsis:
axiom_node_t *AXIS2_CALL soap4service_on_fault(axis2_svc_skeleton_t *srv_skeleton,
const axutil_env_t *env,
axiom_node_t* node);
Parameters:
srv_skeleton
is an input parameter that points to the service skeleton structure created in the
axis2_get_instance()function.
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
node
is an input parameter and is the address of the AXIOM node that contains the SOAP request
from the client.
Return values:
Pointer to the AXIOM node that points to the fault received from the service.
The free Function
The free function, set in the service skeleton structure, is called to free the memory after request
processing.
Synopsis:
int AXIS2_CALL soap4service_free(axis2_svc_skeleton_t *srv_skeleton,
const axutil_env_t *env);
88 NonStop SOAP 4 Service APIs