Custom services issue in ax 2012 r3

Hi Guys

I have developed custom services with data contract class in Ax 2012 r3. i having following issue when deploy service group.

AifCollectionTypeAttribute’ has not been defined. Method:

My class : EmployeeServiceContractTestClass

methods

[AifCollectionTypeAttribute(’_employee’,Types::Class,classStr(EmployeeTest)),

SysEntryPointAttribute(true)]

public List getcustomer(List _employee)

{

}

Pls share your experience to solve the issue

Regards

Syed abuthahir

Hi Guys

I have fixed the above issue

the solution for the issue : Aifcollectiontypeattribute paramater type should be based on return type of the method. So as per methods should not come Types::class.so I changed return type as class.

regards

Syed abuthahir