Please help.
i want to go through this path through AOT but i failed.
*This post is locked for comments
Please help.
i want to go through this path through AOT but i failed.
*This post is locked for comments
Nikolaos, i tried to fire an action in another app to be listened directly to AX with the help of AX32ser.exe as i attached the process to VS but i got an error "Unable to attach the process. debugger is already attached"
Yes.
Actually, the service I need to run is on server X and the app is on server B so is it possible to debug on server X once an event is fired in another server?
Hope you got my point.
I already shared instructions for AIF debugging earlier in this thread.
You always debug the AX server if you need to debug AX. It doesn't matter where the caller of the service is. If you need toto debug your external app, then debug on the server where it's running.
Did you manage to update data with your job? Did you learn anything that would help with your external app?
Thanks nikolaos,
I have an issue regarding the debugging of AIF service in AX . You know that I am integrating with another APP in server A and AX is in server B so how can I trace AIF service in case an event fired in server A ??
You can find many examples if you search the web for "AifEntityKeyList update example". Here's one: dynamicsfox.com/test-aif-services-with-x-job-create-update-and-delete
If you didn't handle the key list in your third party application, you have to handle it there, too. But once your x++ job works I think you understand how you need to implement the third party application.
I created a job to call AIF service but when i called one of its methods , it needs AIFEntityKeyList as a parameter so how could i work with that parameter?
Thanks ,Nikolaos for this useful info but i am just getting stuck with how to declare AIFEntityKeyList to be called in the method.
Yes but surely your external app initializes the record somehow before calling the update service. If not, then we have found your problem. You can't update without specifying what record you want to update and what values you want to set. We have said many times that the issue seems to be in the data.
Remember that we know nothing about your solution except what you tell us.
You can create a job in x++ to test your service. I think it has been suggested many times already. This blog shows how to call AIF services from x++: blogs.msdn.microsoft.com/.../calling-the-ledgerpurchaseinvoice-service-in-ax-2012
I only call the service in the external app and nothing else added after then so I think that the update method in the service might not work so do u know how to test update from the service itself inside AX ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156