Currency Exchange Rates from RSS (using .NET Interop)

This great blog post from Bardur Knudsen (Currency Exchange Rates from RSS) sounded to me like an invitation to extend it using .NET interop variables with Microsoft Dynamics NAV 2009 R2 based on System.XML namespace.

Attached to this blog you will find 3 objects in TXT format (1 table, 1 codeunit, 1 page).

Inside the codeunit there is a useful code that may be worth looking at.

This code has been written to perform the same action and achieve the same result BUT using 3 different approaches in order to understand how .NET interop works compared with Automation Server usage.

Those 3 different approaches are:

  1. Use System.XML dotNet variables running at Service side (property RunOnClient = No)
  2. Use System.XML dotNet variables running at Role Tailored Client side (Property RunOnClient = Yes)
  3. Use MSXMLDOM automation (as it was in the previous blog post) at Client side.



These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.

Duilio Tacconi (dtacconi)

Microsoft Dynamics Italy

Microsoft Customer Service and Support (CSS) EMEA


Comments (4)

  1. Suvidha says:

    Hi.. Great work here.

    I wanted to know how to read a null XML node.

    E.g.: <TagID nil="true"/>

    I want something like, IF (TagID = null) THEN Ignore Else Do something NAV.

    How do I ignore such nodes using NAV .net InterOp feature?

  2. dtacconi says:

    Hi Suvidha,

    thanks for the interesting comment.

    If you log a request to Microsoft CSS I might give this a shot separately using a real example as proof of concept that you might provide us.


  3. rdr says:

    Hi. I'm calling an external web service with authentication. Do you have any suggests to authenticate?

    Thank you

  4. suli says:

    could i have fobs?

Skip to main content