Hi,
I am attempting to return a parameter as part of a custom data service contract which is of type LIST and is a list of string values.
[DataMemberAttribute('parmthisList'), AifCollectionTypeAttribute('_list',Types::String), AifCollectionTypeAttribute('return',Types::String)] public List parmthisList(List _list = thisList) { thisList = _List; return thisList; }
Everything compiles ok but when I try to deploy the service group I get the following exception:
The service 'TestService' could not be generated.\n Error: An attribute of type 'AifCollectionTypeAttribute' has not been defined. Method: 'BP_ResponseContract.parmthisList', Parameter: ''.
Could someone please advise what is not correct on my code and what I need to change on the service contract, calling service or indeed the structure of the parameter itself?
Thanks