Here “retrieveCustomerIds” is my AX method which I am trying to access from webservice.
Definition of retrieveCustomerIds
[AifCollectionTypeAttribute('return', Types::String), SysEntryPointAttribute(False)]
public List retrieveCustomerIds()
{
List resultSet = new List(Types::String);
CustTable custTable;
while select custTable
{
resultSet.addEnd(custTable.AccountNum);
}
return resultSet;
}