Is .NET http web request traced by .net OOB ? I have a .NET applications sending such a request a Java application. Its a servlet request that goes to Java application ? I can see the traces on Java side as well as .NET side (partial traces on .NET) but unable to correlate.
In webservices.pbd , I see the below .
#Http Client Side Correlation configuration-->
What does ClientCorrelationTracing does?
ClientCorrelationTracing is for the http client. The HTTP headers will be populated with correlation data on the outgoing http request.
Hi Matt ,
How is it different from other http requests from .NET. OOB this tracing is turned off.
Did Matt's explanation help answer your question? Or do you have any followup questions?
i am stuck at a transaction trace , and unable to correlate to a process running in another jvm.
The 'view called methods' show as attached. Is this supported?
Talking internally to our guys, tracing from .NET app to Java app depends on how the .NET app calls the Java app. Can you shed some light on how this is done?
Thanks a lot for the response. After going through the code , it shows the same thing as the TT 'View called methods' capture.
In .NET application , it calls java servlet and gets a textstream as response.
It uses System.Net.Webrequest and System.Net.Webresponse for sending and receiving data.
It is something like this :
WebRequest myWebRequest = WebRequest.Create("<java servlet call with url queries>");
WebResponse myWebResponse = (HTTPWebResponse)myWebRequest.GetResponse();
Stream ReceiveStream = myWebResponse.GetResponseStream();
After talking internally, I found we support it this way.
.NET->SOAP WebServices->Java communications
Actually we do currently instrument the .NET System.Net.HttpWebRequest class, from webservices.pbd:
IdentifyInheritedAs: [System]System.Net.HttpWebRequest ClientCorrelationTracing
IdentifyClassAs: [System]System.Net.HttpWebRequest ClientCorrelationTracing
TraceOneMethodIfFlagged: ClientCorrelationTracing GetRequestStream HttpClientCorrelationTracer
However it doesn't seem to be turned on by default, so it will have to be enabled before it will work. Check if its enabled in your webservices pbd file and if not, then enable it and restart the agent.
In talking with Matt, This question is answered is far as it can be in a community thread. Please open a case if you wish to pursue further.
Just FYI Geethu has actually submitted a Support Case 00473021. I've provided the same suggestion as Matt's on 9/08 which was to enable the Http Server/Client Side Correlation tracing in the webservices.pbd. Geethu had tried the same but it didn't help. I'll help her pursue further via the support case.