Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
I experience an exception where my Async methods fail on
XmlRpcProxyGen.Create<T>()
with:
System.TypeLoadException: Method 'BeginPermission' in type
'XmlRpcProxyad9af8e5-f79f-
47a8-bc42-ffc34b39f9e3' from assembly 'XmlRpcProxyad9af8e5-f79f-47a8-bc42-
ffc34b39f9e3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not
have an
implementation.
I believe the [XmlRpcBegin] and [XmlRpcEnd] attributes are not surviving the
inheritance of my interfaces, resulting in missing proxy stubs.
I have split the service interface from the proxy interface, to allow
composition and
reusability of the service interface, as follows:
interface ISomeService
{
[XmlRpcMethod]
void DoSomething();
[XmlRpcBegin]
void BeginDoSomething(AsyncCallback acb, object asyncState);
[XmlRpcEnd]
void EndDoSomething(IAsyncResult iar);
}
interface SomeServiceProxy : ISomeService, IXmlRpcProxy
{
// Empty
}
Original comment by jcaradoc...@gmail.com
on 4 Aug 2009 at 11:10
Hi jcaradocdavies,
I think your issue is that your interface is not public.
Regards,
Aaron
Original comment by Aaron.Mo...@gmail.com
on 25 Sep 2009 at 5:44
Original comment by ChasC...@gmail.com
on 6 Mar 2011 at 10:12
Original issue reported on code.google.com by
Aaron.Mo...@gmail.com
on 28 Feb 2009 at 4:51