I have the following question, I am consulting the exchange rate on the following webservice http://www.banxico.org.mx/DgieWSWeb/DgieWS?WSDL, the result i get is the following XML after deserialize the string. https://protiviti-my.sharepoint.com/:t:/g/personal/oscar_flores_protivitiglobal_com_mx/Ea6gFqbio-1GkwOECod_U6MBjXx4TLgrLaOd3FEmmZd5SQ?e=LL0P7h
As far as I understand, to extract for example the ID value, I have to use the following code: SOAP_Result.Element(“CompactData”).Element(“Header”).Element(“ID”).value.ToString. But I got the following error: object not set to an instance of an object.
Can you guys please help me?