I'm fairly new to the AIF web service side, but that seemed to have went as planned. I have consumed this the web service from AX on my windows service in VS 2013. Then I go to call a simple method in the windows service and it gives me the error: "No overload for Method 'addintegers' takes 2 arguements. What am I missing to call and return such a simple method from AX?
Method in AX:
[SysEntryPointAttribute(true)]
public int addIntegers(int _int1, int _int2)
{
return _int1 + _int2;
}
VS2013 Service:
public void SendParts()
{
//ws.InventJournalTrans() =
PolyTransferService.PolyServiceReference.PolyJourInfoService polyJourInfoService;
int test;
polyJourInfoService = new PolyTransferService.PolyServiceReference.PolyJourInfoService();
test = polyJourInfoService.addIntegers(1, 1);
}
*This post is locked for comments
I have the same question (0)