# How to integrate Ax with Magento

**URL:** <https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780>\
**Category:** Developer Forum\
**Created:** [February 7, 2014, 12:26pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780 "2014-02-07T12:26:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayaraj](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jayaraj](https://www.dynamicsuser.net/u/Jayaraj)\
**Post date:** [February 7, 2014, 12:26pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/1 "2014-02-07T12:26:23Z")

</div>

We are planning to integrate Magento with Microsoft AX 2009 (Product and Customers).Since I am a C# developer I am confused how to get started. On exploring I came to know that best way to integrate is through WCF. But I would like to know

1. How do I create web services in AX.
2. Extensibility of available services .

I couldn’t find a good resource for this in the web .So can any one suggest a good resources or which is the best way to do it.

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [February 7, 2014, 12:57pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/2 "2014-02-07T12:57:58Z")

</div>

You’ll find some answers in the thread called How to implement a webservice. You can also create a custom service (i.e. not a AIF service based on a document class).

---

<div class="post-metadata">

**Author:** ![Jayaraj](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jayaraj](https://www.dynamicsuser.net/u/Jayaraj)\
**Post date:** [February 12, 2014, 9:49am UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/3 "2014-02-12T09:49:26Z")

</div>

I could able get an idea from your thread .Can you explain me how we can get the references of WebService from AX2009 .Should I have to the install webservices into IIS? From [Install AIF Web services](http://technet.microsoft.com/en-us/library/aa496452(v=ax.50).aspx) ,I could able to know that we have to install AIF Web Service from the installation setup file of AX. Is this is only way to expose the AX Web Services or do we have self hosting methodology in AX.

#

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [February 12, 2014, 11:33am UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/4 "2014-02-12T11:33:12Z")

</div>

Yes, you have to host your web services on IIS. This has changed in AX 2012, where the AOS itself hosts WCF services.

---

<div class="post-metadata">

**Author:** ![Jayaraj](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jayaraj](https://www.dynamicsuser.net/u/Jayaraj)\
**Post date:** [February 12, 2014, 11:39am UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/5 "2014-02-12T11:39:21Z")

</div>

Our Client is using Ax2009 .So I think we have to install AIF Web Service but running the setup wizard .Am I right?

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [February 12, 2014, 12:02pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/6 "2014-02-12T12:02:30Z")

</div>

You may want to consult chapter _Install AIF Web services_ in [AX 2009 Installation Guide](http://www.microsoft.com/en-us/download/details.aspx?id=2960).

---

<div class="post-metadata">

**Author:** ![Jayaraj](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jayaraj](https://www.dynamicsuser.net/u/Jayaraj)\
**Post date:** [February 12, 2014, 12:35pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/7 "2014-02-12T12:35:18Z")

</div>

Hai Martin,

I have followed the steps mentioned in that chapter, but on enabling AIF Web Service for installing it, I got an error like “**AIF Web Service cannot be installed. Setup cannot connect to the Application Object Server Instance(AOS) by using Business Connector. Confirm that AOS is running and that the account is a valid Microsoft Dynamic AX user.**” I will be grateful if you could help out on this.

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [February 12, 2014, 12:46pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/8 "2014-02-12T12:46:55Z")

</div>

Go and verify that the AOS is running, BC configuration is correct, the connection isn’t blocked by firewall etc. I know nothing about your system.

---

<div class="post-metadata">

**Author:** ![Jayaraj](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jayaraj](https://www.dynamicsuser.net/u/Jayaraj)\
**Post date:** [February 12, 2014, 1:12pm UTC](https://www.dynamicsuser.net/t/how-to-integrate-ax-with-magento/50780/9 "2014-02-12T13:12:19Z")

</div>

Hai Martin,

Thanks for your response. I will verify it in our system.
