<?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 : Good working example of Remote Server Method</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Good working example of Remote Server Method</description>
  <pubDate>Sun, 17 May 2026 09:22:57 -700</pubDate>
  <lastBuildDate>Tue, 23 Nov 2010 19:34:29 -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=2331</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>Good working example of Remote Server Method : A simple one...&amp;#034;ServerRPCs&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2331&amp;PID=9229#9229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=704" rel="nofollow">mikewishart</a><br /><strong>Subject:</strong> 2331<br /><strong>Posted:</strong> 23-Nov-2010 at 7:34pm<br /><br />A simple one...<br><br>"ServerRPCs" is the module name.&nbsp; It should be listed in the BOS Web.Config probeAssemblyNames and referenced by the BOS.<br><br>private const string RPCClassLocation = "Z.ServerRPCs.RemoteCalls.{0}, ServerRPCs";<br><br>EntityManager.InvokeServerMethodAsync(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string.Format(RPCClassLocation, "GetStringRPC"),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "GetString", r =&gt; { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (r.IsCompleted) {&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine((String)r.Result);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else { throw new Exception(r.Error.Message); } <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, null );<br><br>namespace Z.ServerRPCs.RemoteCalls<br>{<br>&nbsp; public class GetStringRPC<br>&nbsp; {<br>&nbsp;&nbsp;&nbsp; &#091;AllowRpc&#093;<br>&nbsp;&nbsp;&nbsp; public static object GetString(IPrincipal principal, EntityManager mgr, params object&#091;&#093; args)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "Some String";<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp; }<br>}<br><br>]]>
   </description>
   <pubDate>Tue, 23 Nov 2010 19:34:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2331&amp;PID=9229#9229</guid>
  </item> 
  <item>
   <title>Good working example of Remote Server Method : Does anyone have a good working...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2331&amp;PID=9211#9211</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 2331<br /><strong>Posted:</strong> 23-Nov-2010 at 2:03am<br /><br />Does anyone have a good working example of calling a remote server method? I am having difficulties getting it to work with the examples in the documentation.<DIV>&nbsp;</DIV><DIV>Bill</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 23 Nov 2010 02:03:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2331&amp;PID=9211#9211</guid>
  </item> 
 </channel>
</rss>