Hello,
I am trying to get information SOAP->HEADER->TO in staff service wrapper but I have problems.
[1] I have a virtual service (server side) made using staff.
[2] This service bases on SOAPmessages.
[3] I need to get information about SOAP->ENVELOPE->HEADER->TO
I tried to use rOperation.GetMessageContext() to get context but
context.GetToAddress() tells (inside) that TO (endpoint) is not set.
[4] I went deeply into axis code (raw_xml_in_out_msg_recv.c) and
it seems that passed context (to my staff service wrapper) gets new context (out context)
the in context that carries endpoint information (from SOAP->ENVELOPE->HEADER->TO) is not passed.
File: raw_xml_in_out_msg_recv.c
Line: 208
Version: Latest unofficial Axis2c code from staff site
if (status == AXIS2_SUCCESS)
{
skel_invoked = AXIS2_TRUE;
result_node = AXIS2_SVC_SKELETON_INVOKE(svc_obj, env, om_node, new_msg_ctx);
}