Hello,
I had to make integration between 2 different Ax environment. I wrote an AIF service for one environment to read data and I wrote a C# class, I am getting data from AIF to C# by using data contract class and I am returning as data contract class list. When I added C# project to second Ax environment in Visual Studio C# Projects I can not consume the data which returning from C# project as data contract class list in x++. How can i consume C# list in X++?
I need to get data from this C# method in x++;
public List<ShipmentTableContract> getShipmentTable(string companyId) { CallContext axCallContext = new CallContext(); ShipmentIntegServiceClient axService = this.logonToService(); axCallContext.Company = companyId; List<ShipmentTableContract> shipmentList = new List<ShipmentTableContract>(); shipmentList = axService.getShipmentTable(axCallContext); return shipmentList; }
Can anyone help?