axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: Axis2c, 0.94, error processing
Date Sun, 15 Oct 2006 07:50:36 GMT
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: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message