Total Pageviews

Search This Blog

Thursday, March 5, 2015

How to consume ABN (Australian Business Number) or ACN web services from AX 2012 R3

Dear Friends,

Greetings!

Have been super busy with so much to do in so less time!

However, I wanted to take some time and post about my recent experience on how I went integrating ABN Web Service with AX 2012 R3 CU8.

In Australia, we have a concept of ABN and ACN numbers for business registration. ABN is for Australian Business Number and ACN is for Australian Company Number. These registrations are governed by ABR as they are the authority to issue the registration numbers and they maintain this database.

Now, let's get started.

First thing, you would need to go to the ABR site and register to use their webservices.
http://abr.business.gov.au/Webservices.aspx

Once the application is processed which happens within an hour they will e-mail you an authentication GUID (Globally Unique Identifier) which is required to access the ABN Lookup web services. Also with the email, they will send you a pdf which shows you how to access the webservice through various clients like C#, Java, VB6, MS Access etc

Next step, is to open Visual Studio, create a Windows Class Library project and reference the web service. Note, since this is classic web service (.asmx based), so just consume it via the web references node as shown

Web Reference - http://abr.business.gov.au/AbrXmlSearch/AbrXmlSearch.asmx?wsdl













Once this is done, next step is to deploy the Project to AOT (as shown below).




Now, back in AX you should be able to see your deployed project






























Now, let's write some code.. Here is a simple job which I have used to pass a valid ACN number and it returns me the organisation name.

Output:


Sunday, March 1, 2015

Download Free Ebook Microsoft Azure Fundamentals

Dear All,

Microsoft Press has published a free Ebook on Microsoft Azure Fundamentals and it's worth reading to get a grasp on basics of Azure as we all know how important Azure is going to be especially in  line with Dynamics AX Ecosystem.

Link to Download the ebook below -

http://blogs.msdn.com/b/microsoft_press/archive/2015/02/03/free-ebook-microsoft-azure-essentials-fundamentals-of-azure.aspx


Enjoy Azuring ! :)