Deprecated: Add Service Reference in the MorphX AOT

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

In Microsoft Dynamics AX 2009 and earlier versions, the Add Service Reference feature enabled the consumption of external service references from X++ code.

Overview

Item

Description

Reason for deprecation

The MorphX feature, which consumed external services, had severe limitations. Because of a strategic shift toward making .NET development more mainstream for Microsoft Dynamics AX 2012, the consumption of external services is now done in Microsoft Visual Studio .NET, by using the Add Service Reference feature that is available in Visual Studio. AX 2012 dramatically improves interoperability from .NET to X++.

Replaced by another feature

Yes. Use the Add Service Reference feature in Visual Studio .NET to consume the external service via a service proxy in Visual Studio .NET. The resulting managed project can be added to the Microsoft Dynamics AX Application Object Tree (AOT) by using the Microsoft Dynamics AX Application Explorer. The project then becomes available for consumption in X++.

Modules affected

All

Changes to installation

Any existing service references that are used in X++ code might have to be refreshed and recompiled for consumption by using the managed project artifacts.

Changes to upgrade

X++ code that references service proxies that were added by using Add Service Reference in AX 2009 MorphX must be revised and recompiled.

See also

How to: Add a Reference to a .NET Assembly