Activating an integration port, you may receive the following error:
The service 'YourService' could not be generated.\n Error: 'YourDataContract.parmMethod' is not a valid data member.
The problem is with declaration of the data member YourDataContract.parmMethod. This method declaration could look like this:
[DataMemberAttribute('Name')] public CustName parmName(CustAccount _name = name) { name = _name; return name; }The type of the return value is CustName but the type of the parameter is CustAccount. These types should be the same as shown in the following example:
[DataMemberAttribute('Name')] public CustName parmName(CustName _name = name) { name = _name; return name; }
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.
Authors are allowed to set their own AdSense units and "buy me a coffee" link.
Join us.