NonStop SOAP 4.1 User's Manual
const axutil_env_t * env,
const axiom_node_t * payload,
axis2_callback_t * callback
)
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.
callback
is a pointer to the callback structure used to capture response. The callback structure is passed
as an argument to the axis2_svc_client_send_receive_non_blocking() function.
The program runs in parallel and returns the response back to the calling function as and when
it becomes available.
Return values:
Void
The axis2_svc_client_send_robust() Function
The axis2_svc_client_send_robust() function is used to send an XML message. This
function invokes a service operation whose MEP is Robust Out-Only. If a fault triggers on the server
side, the axis2_svc_client_send_robust() function reports an error to the caller.
Synopsis:
AXIS2_EXTERN axis2_status_t axis2_svc_client_send_robust
( 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 values:
• AXIS2_SUCCESS on success.
• AXIS2_FAILURE on failure.
The axis2_svc_client_fire_and_forget() Function
The axis2_svc_client_fire_and_forget() function sends a message and forgets about
it. This function is used to interact with a service operation whose MEP is In-Only.
114 NonStop SOAP 4 Client APIs










