0

Exception in accessing AX method

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;
}
piku
  • 471
  • 4
  • 12
  • 44

1 Answers1

0

I got success by changing the SPN to blank in my application config file.

piku
  • 471
  • 4
  • 12
  • 44