axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Elbaz <simon.el...@free.fr>
Subject [Axis2/C] Function axis2_msg_ctx_get_from returns null
Date Wed, 01 Aug 2007 04:16:19 GMT
Hi,
I use axis2c (svn version of sunday 22, july). The need is to keep the 
source of the message using From field.
In the client, the addressing module is engaged and the From field is 
set using the axis2_options_set_from function.

 From the server side, the following functions return something:
options = axis2_msg_ctx_get_options(msg_ctx, env);
axis2_endpoint_ref_from = axis2_msg_ctx_get_from(msg_ctx, env);

Whereas axis2_endpoint_ref_to = axis2_msg_ctx_get_to(msg_ctx, env) 
returns NULL. axis2.xml is modified with     <module ref="addressing"/> 
uncommented.
services.xml as well with <parameter name="wsamapping" >some 
URL</parameter>.

Am I missing something ?
Thanks for your help

Simon



---------------------------------------------------------------------
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