<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : InvokeServerMethodAsync returning Array</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : InvokeServerMethodAsync returning Array</description>
  <pubDate>Sat, 11 Apr 2026 23:12:29 -700</pubDate>
  <lastBuildDate>Thu, 08 Jul 2010 22:49:41 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1950</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>InvokeServerMethodAsync returning Array : Yes I was, by creating the class...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7576#7576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1950<br /><strong>Posted:</strong> 08-Jul-2010 at 10:49pm<br /><br />Yes I was, by creating the class as you suggested.<br /><br />Lee]]>
   </description>
   <pubDate>Thu, 08 Jul 2010 22:49:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7576#7576</guid>
  </item> 
  <item>
   <title>InvokeServerMethodAsync returning Array : Because the return type of InvokeServerMethod...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7572#7572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1950<br /><strong>Posted:</strong> 08-Jul-2010 at 3:00pm<br /><br />Because the return type of InvokeServerMethod is Object, .NET's serialization behavior may not be as clean.&nbsp; Were you able to get it working?<DIV></DIV>]]>
   </description>
   <pubDate>Thu, 08 Jul 2010 15:00:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7572#7572</guid>
  </item> 
  <item>
   <title>InvokeServerMethodAsync returning Array : Thanks for your reply  I thought...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7563#7563</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1950<br /><strong>Posted:</strong> 08-Jul-2010 at 2:54am<br /><br />Thanks for your reply<br /><br />I thought that Arrays were 'WCF-serializable' by default. Or perhaps is DevForce doing something which prevents Arrays working 'out of the box'?<br /><br />Lee]]>
   </description>
   <pubDate>Thu, 08 Jul 2010 02:54:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7563#7563</guid>
  </item> 
  <item>
   <title>InvokeServerMethodAsync returning Array : Yes, but in this case, .NET is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7555#7555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1950<br /><strong>Posted:</strong> 07-Jul-2010 at 6:34pm<br /><br />Yes, but in this case, .NET is having difficulty serializing the value.&nbsp; Try using the typed list below instead of an array.&nbsp; It has most of the serialziation markup for .NET to discover.&nbsp; (You may also have success&nbsp;just using one of the&nbsp;other .NET collection classes.)&nbsp;<DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&nbsp; &#091;System.Runtime.Serialization.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DataContract</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&#093;</FONT></FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&nbsp; public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>GuidList</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> : </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>List</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Guid</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt;, </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>IKnownType</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> {</FONT></FONT></DIV><DIV><FONT size=2><FONT face=C&#111;nsolas>&nbsp; &nbsp; <FONT color=#0000ff><FONT color=#0000ff><FONT color=#0000ff>public</FONT></FONT></FONT> GuidList() : <FONT color=#0000ff><FONT color=#0000ff><FONT color=#0000ff>base</FONT></FONT></FONT></FONT><FONT face=C&#111;nsolas>() {}</FONT></FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas>&nbsp; }</FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas></FONT>&nbsp;</DIV><DIV>In the worst case, you would create your own custom class, use the &#091;DataContract&#093; attribute on the class, add&nbsp;the IKnownType marker interface, and mark each serializable property with the &#091;DataMember&#093; attribute.</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by ting - 07-Jul-2010 at 6:36pm</span>]]>
   </description>
   <pubDate>Wed, 07 Jul 2010 18:34:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7555#7555</guid>
  </item> 
  <item>
   <title>InvokeServerMethodAsync returning Array : Hi  I want to return an Array...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7546#7546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=832" rel="nofollow">leeatkinson</a><br /><strong>Subject:</strong> 1950<br /><strong>Posted:</strong> 07-Jul-2010 at 9:37am<br /><br />Hi<br /><br />I want to return an Array (of Guid) using InvokeServerMethodAsync but the call fails with the exception "The remote server returned an error: NotFound."<br /><br />If I return a single Guid, it works fine. <br /><br />Is it possible to return an Array?<br /><br />Lee<br /><br />]]>
   </description>
   <pubDate>Wed, 07 Jul 2010 09:37:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1950&amp;PID=7546#7546</guid>
  </item> 
 </channel>
</rss>