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 :
Microsoft Dynamics AX (Archived)

Add WEB SERVICE in X++

(0) ShareShare
ReportReport
Posted on by 3,732

Hi,

May I know how to add a service reference in X++ (MorphX IDE). I followed some links, there is some options in AX 2009 to add service reference in AOT. But I am using AX 2012 R2. If possible to add service referance in MorphX IDE please give me some steps.

I followed these links: 

http://msdn.microsoft.com/en-us/library/cc636424(v=ax.50).aspx

http://junctionsolutions.com/blogjuice/consuming-web-services-using-dynamics-ax-morphx/

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at

    The option in MorphX has been removed in AX 2012; it's now done in Visual Studio.

    Please read through Consuming Web Services white paper available from here.

  • Sathish Sivakumar Profile Picture
    3,732 on at

    Thanks Martin Ji.

  • Sathish Sivakumar Profile Picture
    3,732 on at

    Hi Martin,

    Thus by adding the service reference through visual studio 2010 supports soap and rest api in AX 2012 R2 X++?

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

    It's done in Visual Studio, so it supports everything what you can consume in Visual Studio.

    X++ merely calls classes created in Visual Studio (through .NET Interop from X++).

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans