Hi Greg,
You are getting this error because when you create a delegate in the client, its full type name is
Jet.Services.MailService, Jet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
but in the server, the Assembly name is most likely JetWeb. (I'm guessing the server assembly name is JetWeb based on the assumption that you created your project using the Silverlight template)
To get rid of the error, you could:
1) change the Assembly name of the server to match the SL project's. This is possible, but NOT advisable as it could cause other adverse effects.
2) use the
public InvokeServerMethodOperation InvokeServerMethodAsync(
string fullTypeName,
string methodName,
Action<InvokeServerMethodOperation> userCallback,
object userState,
params object[] userArguments
)
overload.
Silvio.