Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

How to call/link ax service class in web api ?

Posted on by 1,844

Dears,

Please provide me relevant example or code to call ax service classes in web api to perform crud operations.

Thank you.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: How to call/link ax service class in web api ?

    In my opinion, you don't need examples of doing it through Web API. Just look at examples of how to consume SOAP services in VS/C#. What kind of application you write in C# (whether it's a console app, Web API or something else) isn't that important.

  • Verified answer
    ergun sahin Profile Picture
    ergun sahin 8,812 Super User on at
    RE: How to call/link ax service class in web api ?

    docs.microsoft.com/.../cc652581(v=ax.50)

  • Faqruddin Profile Picture
    Faqruddin 1,844 on at
    RE: How to call/link ax service class in web api ?

    Hello Marti,

    Thanks for your reply. Actually I'm trying to develop cross-platform apps. Now my requirement is to develop ASP.Net web api that interact with ax 2012 web service classes . Yes I aware soap services and its crud operations. But I don't how to call them directly in other platforms. Thats the reason, I'm trying to create Asp.net web api as middle platform and I want to interact with ax web service classes. So basically all want an example how to interact web services ax 2012 classes with ASP.NET web api ?

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: How to call/link ax service class in web api ?

    Can you please explain what you're trying to achieve and what problems you have with it? We can't give you "relevant" examples if you don't tell us what is relevant for your situation.

    What exactly is do you mean by "web api"? Are you talling about ASP.NET Web API or do you just mean web services in general? Why do you want to call AX services from another API instead of just calling them directly? It's unclear unless you explain what you're doing.

    Are you aware of AIF document services in AX 2012? Do you realize that you can call them via SOAP web services, which support CRUD operations? Is it relevant for you or not?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans