Re: cdata sections

2009-10-21 Thread Dinesh Premalal
Hi, William,

"Nagy Vilmos"  writes:

> Hi,
>  
> the axiom_text_create method can be used to create a text node in Axis2/C.
> How can I create a CDATA section node?

AFAIK, CDATA is not implemented with axiom yet. I may be wrong.

thanks,
Dinesh


cdata sections

2009-10-21 Thread Nagy Vilmos
Hi,

the axiom_text_create method can be used to create a text node in Axis2/C.
How can I create a CDATA section node?
My Axis2/C uses libxml2.

Thanks,
William

Endpoint Address

2009-10-21 Thread Jose M Medina V
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