Hello,
I am trying to publish my custom service and every time I try to deploy my service and or try to do incremental CIL the DAX is shutting down. It seems like it is something to do how I have used the AIFCollectionAttribute in my DataContract.
Here is what I have in my DataContract:
-
Two string variables at threir class level varaibles and two parameters that accept a string and returns a string values.
-
one List variable at the class level and its parameter that accepts a List variable and returns a List variable.
Here is the code that I have for the list parameter:
[DataMemberAttribute("TransIdsList"),
AifCollectionTypeAttribute("_transIdsList",Types::String),
AifCollectionTypeAttribute("return",Types::String)]
public List parmTransIdsList(List _transIdsList = lstTransIds)
{
lstTransIds = _transIdsList;
return lstTransIds;
}
Here is the service class code that accepts the above DataContract as a parameter from the .NET application.
[SysEntryPointAttribute(true),AifCollectionTypeAttribute('_transIDsDC', Types::Class)]
public ACResultDataContract invoicePropose(TransIdsDataContract _transIdsDC)
{
//service method code...
}
Please review the attributes that I have code both in the DataContract and also in the service class method. May be I am missing something on the correct usage of the attributes.
DAX version : 2012 CU3
Thanks,
Dave