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?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
{count} votes