Hello,
I use a IIS server to communicate with AX with the Business Connector. I saw that we need to use the LogonAs method to use a web user session in AX.
But when I use the LogonAs method, I see a worker session and a Business connector session in AX only. Is there anything to change in ISS ? or in my code? Or in the application pool ?
In addition the communication seems slow.
BCNC = new System.Net.NetworkCredential("Domain Username", "Password Username Domain)
ax = new Axapta(); ax.LogonAs(BCNC.UserName, BCNC.Domain, BCNC, AXComapny, "", "", "");
AXClass = ax.CreateAxaptaObject("axclass");
AXClass.Call("axclass.metod");
ax.Logoff();
Thanks a lot for your help.
*This post is locked for comments