Simon Elbaz wrote:
Sorry, the subject of my last message was not the good.
On the server side, try using
msg_info_headers = axis2_msg_ctx_get_msg_info_headers(msg_ctx, env);
axis2_endpoint_ref_from = axis2_msg_info_headers_get_to(msg_info_headers, env);

Samisa...


Simon Elbaz wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services 
Developers' Portal)


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

Reply via email to