Detailed Description
async_result is used to capture the result of an asynchronous invocation. async_result stores the result in the form of a message context instance, the user can extract the resulting SOAP envelope from this message context.
Typedef Documentation
Type name for struct axis2_async_result
Function Documentation
Creates an async result struct to help deal with results of asynchronous invocations.
- Parameters:
-
| env | pointer to environment struct |
| result | pointer to result message context into which the resulting SOAP message is to be captured |
- Returns:
- newly created async_result struct
Frees the async result.
- Parameters:
-
| async_result | pointer to async result struct |
| env | pointer to environment struct |
- Returns:
- AXIS2_SUCCESS on success, else AXIS2_FAILURE
Gets the SOAP envelope stored inside the resulting message context.
- Parameters:
-
| async_result | pointer to async result struct |
| env | pointer to environment struct |
- Returns:
- pointer to the result SOAP envelope in the message context.
Gets the result in the form of message context.
- Parameters:
-
| async_result | pointer to async result struct |
| env | pointer to environment struct |
- Returns:
- pointer to result message context