NonStop SOAP 4.1 User's Manual
Synopsis:
AXIS2_EXPORT int axis2_remove_instance(
axis2_svc_skeleton_t * inst,
const axutil_env_t * env)
Parameters:
inst
is an input parameter and is an instance of the service skeleton structure for the service.
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
Return Values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
APIs to Implement the Service Skeleton Structure Interface
After you create the service skeleton structure, implement the following functions defined in the
service skeleton operations structure:
• “The init Function” (page 87)
• “The invoke Function” (page 87)
• “The fault Function” (page 88)
• “The free Function” (page 88)
The init Function
The init function, set in the service skeleton structure, implements the service initialization logic for
the service and is called by NonStop SOAP 4 while processing a request.
Synopsis:
int AXIS2_CALL soap4service_init(axis2_svc_skeleton_t *svc_skeleton,
const axutil_env_t *env);
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.
Return values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The invoke Function
The invoke function, set in the service skeleton structure, implements the business logic for the
service and is called by NonStop SOAP 4 while processing a request.
Synopsis:
axiom_node_t *AXIS2_CALL soap4service_invoke(axis2_svc_skeleton_t *svc_skeleton,
const axutil_env_t *env,
Basic NonStop SOAP 4 Service APIs 87










