How to log request header information for SoapCore web service call

SK Azharuddin 0 Reputation points
2023-03-17T05:27:00.1166667+00:00

Development details

.Net 6

SoapCore (1.0.0)

Currently, I am implemented IClientMessageInspector and IEndpointBehavior Interface to log SoapCore web service call request response (Only request message and response message).

Using this implementation process I'm able to log request and response message information.

Using this implementation process I'm not able to log request and response header information.

How could I log request and response header information for the SoapCore web service call?

Developer technologies ASP.NET ASP.NET Core
Developer technologies .NET Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.