ActivityID header block

wiria's picture
Hello, I'm new to web service programming world, and just started programming an application consuming service from WCF. My application's written using WSF/C. I'm having some difficulties generating ActivityID & CorrelationId header block. What should i do to include this element to the header? Do i have to add Sandesha module? Thanks in advance, Wiria
manjula peiris's picture

Reply

AFAIK this has nothing to do with Sandesha2/C you may need to write your own module.
wiria's picture

Thanks Manjula

Thanks Manjula, I have another questions. How do i set up some HTTP header like: AXIS2_HTTP_HEADER_EXPECT_100_CONTINUE and AXIS2_HTTP_HEADER_CONNECTION_KEEPALIVE ? I tried this: request_line = axis2_http_request_line_create(env, "POST", "/MyService.svc", "HTTP/1.0"); request = axis2_http_simple_request_create(env, request_line, NULL, 0, NULL); http_header = axis2_http_header_create(env, AXIS2_HTTP_HEADER_CONNECTION_KEEPALIVE, AXIS2_VALUE_TRUE); axis2_http_simple_request_add_header(request, env, http_header); But it's not working. Googling around doesn't help me at all. Thanks in advance,
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)