Hi, I try to get the target endpoint address in a services in Axis2c, I put the following code in the invoke function in the skeleton library:
axis2_endpoint_ref_t *endpoint_ref = NULL; const axis2_char_t *address = NULL; . . . endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env); if(endpoint_ref) { AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "%s%s if(endpoint_ref)",pdesWebServ->nombre_web,nombreFuncion); address = axis2_endpoint_ref_get_address(endpoint_ref, env); if (address) { AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "%s%s if (address)",pdesWebServ->nombre_web,nombreFuncion); } } When I run this, I got NULL in endpoint_ref variable, so I don’t know it was something wrong with this code. It is the correct way to get the endpoint address or exists another way to get that info. Thank in advance. ------------------------------------------------------------ José M. Medina V. Wesam Consulting jose_med...@wesamconsulting.com Mobile: +58(416)613-3302 +58(414)019-0580 Ofc: +58(212)959-4155 Ext. 204 BB pin: 31E562BF Caracas - Venezuela