I have a simple getter Class in AX and would like to use it via an AIF webservice from an external program. The Class looks like this:
static Email getEMail(HcmWorkerRecId _hcmWorkerRecId)
{
;
email = HcmWorker::find(_hcmWorkerRecId).Email();
return email;
}
What do I need to get an AIF Webservice out of it?