Currency Exchange Rates from RSS (using .NET Interop)

Currency Exchange Rates from RSS (using .NET Interop)

  • Comments 3

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.

http://msdn.microsoft.com/en-us/library/system.xml(v=VS.80).aspx

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

Attachment: BlogDotNetRSS.txt
Leave a Comment
  • Please add 4 and 8 and type the answer here:
  • Post
  • 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?

  • 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.

    Cheers  

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

    Thank you

Page 1 of 1 (3 items)