The code you provided works for me (as it is). However, there will be an error if your operation name is not really MyOperation , but rather something like InsertOperation or AddOperation or something that falls into "CRUD" (Create Read Update Delete). This caused some conventions in RIA services (which you can read here here ).
To get around this, you can use a name that does not apply to these conventions, or you can specify the operation as an Invoke operation using InvokeAttribute as follows:
[Invoke] public void AddOperation(string userName, bool isActive, string emailAddress) {
Hope this helps :)
source share