I have generated c# classes based on a soap response format.
What is the best and easiest way to map an incoming soap response to these classes?
Can you share a code example?
Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 29th April 2021
You could use System.Xml.Serialization.XmlSerializer for this. Some examples are available on the MS docs. Also note Microsoft released some important security risks to consider when using XmlSerializer, basically don't deserialize data you don't trust.
Gellynck Jens [SLC] Answered question 27th April 2021