Thought of sharing a small yet tricky way to add a web service reference directly from AX 2012 without using proxy DLL, for consuming the same.
Normally, when we right click on AOT "References", we can add only the DLL references from there. (Figure 1)
But if we create a project, and add a "Reference" group, and then right click on it, we will get both the options; of adding the DLL reference as well as adding the web service reference. (Figure 2)
Once we click on "Service Reference", the following form opens, which helps us inputting the WSDL URL along with the Namespace and other details. (Figure 3)
Figure 2
Figure 3