SOAP interface in .Net POST or GET, request string

Markus Freitag 3,791 Reputation points
2022-01-25T16:58:08.937+00:00

Hello,

When I add a web reference from the WSDL it will generate a class for you that you use to make the calls to your service.
Let's call it "MyService". If I create a partial for that class, and include it in the same assembly, 
I can override the "GetWebRequest" method and directly add headers. 

Can I read out the RequestString? If so, how?

Visual Studio 2017, C#, WinForm desktop application

Developer technologies | C#
{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.