Krankurs Leonid wrote:
Hi,
Could you please clarify Axis2c, 0.94 error processing behavior in the
following scenario:


axis2_allocator_t* allocator = axis2_allocator_init (NULL);
axis2_error_t* error = axis2_error_create(allocator);
axis2_env_t* env = axis2_env_create_with_error(allocator, error);
calll axis2_error_init(); after creating the error. It is a bug that is is not called from axis2_env_create_with_error, but you can call it yourself for the time being.
both calls
        AXIS2_ERROR_GET_MESSAGE(env->error)
        env->error->ops->get_extended_message(env->error)
return NULL

what is wrong?
This would go away, if you call the axis2_error_init(); function. Please raise a Jira for this.

Another alternative is to call
axis2_env_create_all() to create the environment. That calls axis2_error_init();

Samisa...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to