Dears,
Please provide me relevant example or code to call ax service classes in web api to perform crud operations.
Thank you.
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.
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 ?
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?
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156