web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

(0) ShareShare
ReportReport
Posted on by 25

 Iam trying to create a document service for using AIF wizard and ihave some points:

1- Tools > Wizards > AIF Document Service Wizard Tools > Application Integration Framework > Create Document Service.  the menu doesn't show after search and follow some links like :

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/205072/aif-tools-not-visible-even-after-aif-web-services-installation-in-ax-2009/533596

https://dynamicsuser.net/ax/f/developers/62315/how-to-enable-aif-document-service-wizard-in-ax2009

and still, doesn't show.so that open it from AOT.

2-after open the menue from AOT and using AxdSalesOrder query. When I click generate and open the service in Services section it give me error.

When I checked in AIFService table i found this error: 

"Unable to create class AxdSalesOrder ".

tryed to open error message. It opened the class with methods. Then find the method giving the error. The error says cannot be able to create a new object of new document service in runtime.

Thanks.

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    Why are you trying to generate a new service using AxdSalesOrder? You should already have an existing service using this query. Correct?

    Could you please state your exact requirement here?

  • AbdelrhmanHiba2020 Profile Picture
    25 on at

    Hi,

    yes, I am trying to generate a new service using AxdSalesOrder but with another name, so that tray with other queries and the same error,

    my requirement Integrate AX2009  with an external application.

    Note:

    I am trying that integration in AX2012 its Quite simple.

    thanks.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Can you duplicate the query instead and try creating the new service? This will be better as there will be no conflicts while creating new objects for the AIF service.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at

    same Error.!

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    What is the name of the new query? Also, please share a few screenshots of the names you are passing for the creation of the new AIF service.

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Although you've linked a thread where I asked about X++ Source Code license, you didn't answer it. So let me ask again: do you have X++ Source Code license?

  • AbdelrhmanHiba2020 Profile Picture
    25 on at

    I followed this link exactly:

    ellipsesolutions.com/.../

    and break on step No5. 

  • AbdelrhmanHiba2020 Profile Picture
    25 on at

    I don't understand that "X ++ source code license"

    I thought I didn't understand you on this point

  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    You must have X++ source code license to modify classes and do many other development-related things.

    Go to Administration > Setup > System > License Information and check which license you have in your environment.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at

    you all right, I do not have an X++ source license, But do you mean it cannot work and if true? what is the solution to create an AIF service in Ax 2009ØŸ

    Note:

    I have an Application Integration Framework license 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans