<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Use reflection to call generic method in Dynamics NAV2013	</title>
	<atom:link href="https://www.hougaard.com/use-reflection-to-call-generic-method-in-dynamics-nav2013/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.hougaard.com/use-reflection-to-call-generic-method-in-dynamics-nav2013/</link>
	<description>Do more with apps</description>
	<lastBuildDate>Tue, 20 May 2014 15:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: eclipses		</title>
		<link>https://www.hougaard.com/use-reflection-to-call-generic-method-in-dynamics-nav2013/#comment-16</link>

		<dc:creator><![CDATA[eclipses]]></dc:creator>
		<pubDate>Tue, 20 May 2014 15:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hougaard.com/?p=82#comment-16</guid>

					<description><![CDATA[Hi,
   Very interesting post, not more speak about that. 
I&#039;m studing how to convert code from C# to C/AL, I&#039;m using the code or the following example: 

http://msdn.microsoft.com/en-GB/library/hh674188.aspx

I&#039;m tring to understand what I can do in C/AL and what no.
I did the call to the webservice and recive a response, all that from C/AL except the declaretion of the DataContract that I inserted in an external DLL (I don&#039;t know if is possible create that code in C/AL).
My problem at the moment is when I want to read the response, for example the following line of code:

int locNum = locationsResponse.ResourceSets[0].Resources.Length;

If I try to access to the ResourceSets[0] I cannot because ResourceSets is an array of type Location[] and not an integer. 
I tried to apply your code but I didn&#039;t understand if it is applicable in my case and what parameters pass during the invoke call.
Let me know what do you think about.
All the best
  Eclipses]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
   Very interesting post, not more speak about that.<br />
I&#8217;m studing how to convert code from C# to C/AL, I&#8217;m using the code or the following example: </p>
<p><a href="http://msdn.microsoft.com/en-GB/library/hh674188.aspx" rel="nofollow ugc">http://msdn.microsoft.com/en-GB/library/hh674188.aspx</a></p>
<p>I&#8217;m tring to understand what I can do in C/AL and what no.<br />
I did the call to the webservice and recive a response, all that from C/AL except the declaretion of the DataContract that I inserted in an external DLL (I don&#8217;t know if is possible create that code in C/AL).<br />
My problem at the moment is when I want to read the response, for example the following line of code:</p>
<p>int locNum = locationsResponse.ResourceSets[0].Resources.Length;</p>
<p>If I try to access to the ResourceSets[0] I cannot because ResourceSets is an array of type Location[] and not an integer.<br />
I tried to apply your code but I didn&#8217;t understand if it is applicable in my case and what parameters pass during the invoke call.<br />
Let me know what do you think about.<br />
All the best<br />
  Eclipses</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
