top of page

Error accessing WCF from CRM 2011 Custom Workflow Activity



I was having the following exception when calling a wcf service from a Custom Workflow Activity: “When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters.” And the reason was because when the svc service was added to the project, the configuration was:


After investigation, i discovered that the configuration should be with the check in Generate asynchronous operations instead. I will do more research and update with the reason that should be like this.

0 views0 comments

Recent Posts

See All

CRM 365 - Customer field only show Accounts

On a customer field, if the requirement is to only show Accounts, please add this line to the OnLoad of the form: //Show only Account records when selecting the Customer formContext.getControl("cu

Execute Workflow Request on CRM 365 Cloud

Please find below an example of calling the Execute method to run a workflow on CRM 365 Cloud. let Id = formContext.data.entity.getId().replace('{', '').replace('}', ''); let request =

bottom of page