<?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 : What am I missing in this RemoteServerMethod call</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : What am I missing in this RemoteServerMethod call</description>
  <pubDate>Mon, 29 Jun 2026 04:48:09 -700</pubDate>
  <lastBuildDate>Thu, 30 Dec 2010 12:09:13 -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=2407</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>What am I missing in this RemoteServerMethod call : The signature for your remote...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2407&amp;PID=9506#9506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2407<br /><strong>Posted:</strong> 30-Dec-2010 at 12:09pm<br /><br /><P>The signature for your remote method should be</P><DIV>public static Object CalculateAmountOwing(IPrincipal pPrincipal, EntityManager pPm, params Object&#091;&#093; pArgs)</DIV>]]>
   </description>
   <pubDate>Thu, 30 Dec 2010 12:09:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2407&amp;PID=9506#9506</guid>
  </item> 
  <item>
   <title>What am I missing in this RemoteServerMethod call : So in my LaorWare2011Web project...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2407&amp;PID=9505#9505</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> 2407<br /><strong>Posted:</strong> 30-Dec-2010 at 11:24am<br /><br />So in my LaorWare2011Web project I have a folder named RemoteCalls and in there is a class called MemberBalanceCalculator defined as follows:<DIV>&nbsp;</DIV><DIV>namespace LaborWare2011Web.RemoteCalls</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static class MemberBalanceCalculator</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;AllowRpc&#093;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static object CalculateAmountOwing(Member member)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // a bunch of calculations.......</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return member;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>In my MemberEditViewModel class, I have a method that will call this remote method.</DIV><DIV>&nbsp;</DIV><DIV>public void CalculateBalance()</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string typeName = "LaborWare2011Web.RemoteCalls.MemberBalanceCalculator, LaborWare2011Web";</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string methodName = "CalculateAmountOwing";</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var op = Mgr.InvokeServerMethodAsync(typeName, methodName, null, CurrentMember);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op.Completed += (o, args) =&gt; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV><DIV>}</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 30 Dec 2010 11:24:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2407&amp;PID=9505#9505</guid>
  </item> 
 </channel>
</rss>