Magento and Microsoft dynamics AX Integration - web-services

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
How do I create web services in AX.
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.

You write WebServices in Dynamics AX 2009 (and 2012) in X++. The overall sub-system for webservices and more ways to integrate is called AIF. In order to use it you need to set it up first as described here.
On how to create the simple WebService is shown in a great video here. And you can download a Microsoft guide with tips on how to do it better from here.
Here you can find development center with a lot of helpful resources.
Inside Microsoft Dynamics AX 2009 (here) describes AIF on Chapter 17th. All MS books on later versions do the same.
Tip: Microsoft employees are encouraged and motivated to answer AX questions on MS website.

Related

What kind of project do I need to create?

I need to create a .net based Restful web service to interface to an existing SOAP back end application, This web service will be deployed to Azure. Using Visual Studio 2015, what kind of project do I need to create? Could your answer cover in some detail the steps I need to create this project?
You'll probably want to use C#. Here's a pretty good tutorial by Microsoft that covers all the steps of creating a basic web interface.
I recommend you do the whole walkthrough, even if it doesn't immediately solve your issue, it will teach you how to do it.

how to use addin developed with microsoft.sharepoint.dll in other system

I've developed an outlook addin in vs2013. The development machine has sharepoint installed. My code has:
using Microsoft.SharePoint;
But when I run this code on a client machine it shows an error.
enter image description here.In some sites they suggest using Microsoft.SharePoint.Client.dll. Can anyone help?
This won't work as you expected. Microsoft.SharePoint.dll is a server side library which is part of Microsoft SharePoint and hence can neither be referenced nor used otherwise in a client-side environment such as an Outlook add-in.
What you are looking for is Client-Side Object Model, or CSOM for short. However, developing CSOM apps is a completely different story, needs slightly different knowledge and skills. The bad news is most of your SharePoint-related work will have to be redeveloped almost from scratch.
If your SharePoint integration isn't heavy, you might be able to achieve what you want with SharePoint's web services, either REST or SOAP. There an article on MSDN providing insight to various types of SharePoint APIs and providing guidance which API to use in what situation. You shoudl read this first.
we can't use using Microsoft.SharePoint; in sharepoint not installed system.
we need to use using Microsoft.SharePoint.client; for client system and use client object model code.

Microsoft Dynamics CRM Online (2013) - Get number of tickets via API

I use Dynamics CRM Online (2013) to manage daily incident tickets, daily requests and change requests. I'd like to use their API and pull this information into a custom application to display them on a dashboard.
Basically what I want to do is to be able to grab the number of open tickets using my application. Then it'll publish this information to elsewhere. It's a Java application running on a Windows server.
Can you please point me in the correct direction?
MSDN lists a walkthrough (click here to see it) (it's related to CRM Online 2011, but since most of the info is still accurate I'd say it's worth a try) aimed exactly at connecting to CRM Online fom Java.
The prerequisites listed are
Java SE SDK 1.6 update 23 or later
Eclipse 3.7.x and above or NetBeans 6.9x or later
Apache Axis 2 ver. 1.6.1
Apache HTTP Components Client 4.1.3
Microsoft Dynamics CRM Online
You're going to have to generate the classes (in .NET you use crmsvcutil.exe, it's roughly equivalent) and then you should be all set.

With Sharepoint 2007, how to update a datasheet from a program?

I writing a tool to automatically update a datasheet on a sharepoint 2007 site. The tool runs on JVM, and seems like 2007 has no REST service support, so can anyone point me to some good resource of using webservice to update datasheet object on sharepoint?
Thanks,
The DataSheet is just a UI view in front of a SharePoint list, therefore you should be looking to update the List, not the DataSheet UI.
This will give you a start, its written for C# but can be ported to Java.
http://msdn.microsoft.com/en-us/library/ms440289(v=office.12).aspx
This programming task shows how to use
the UpdateListItems method of the
Lists Web service to update items in a
list through a Microsoft Windows
application.
For Java specific example see - http://davidsit.wordpress.com/2010/02/15/creating-sharepoint-list-items-with-java-tutorial/

How to build stand-alone SOAP web services using Delphi?

How can I build a stand-alone SOAP-based Web Services using Delphi? Must work with Delphi 2009, but it'd be nice if it worked with older ones too.
The built-in WebBroker Web Services creates CGI or ISAPI. It would be nice to create a stand-alone executable that I can control from bottom to top, especially during development.
RemObjects SDK for Delphi (RO/Delphi).
Different messaging formats are
provided, including our own highly
efficient binary BinMessage format, as
well as support for SOAP, XML-RPC and
- new - JSON encoding, in case you want to make your servers accessible
to clients not using RO, or write
clients to access Web Services
provided by others.
Dave Nottage wrote Building a stand-alone Web service with Indy (source code).
This article explains how to fit Indy
into Delphi 6's Web services (SOAP)
support.
According to the comment on the page, it works with Delphi 2009 with some modification.
Edit: People in Indy 10 and IdHTTPWebBrokerBridge with CBuilder 2009 posted modified version. For example, IdHTTPWebBrokerBridge.pas is by Jochanan van der Niet.
It should be possible to build a web service with VCL for the Web (formerly: Intraweb). It has an option of creating a standalone executable that contains both: web server and web application
In D7 I used IdHTTPWebBrokerBridge (Indy 9). But i don't know if it is still available in D2009.
There are a series of SOAP articles on Dr. Bob's website and specifically there is RAD Studio 2007 XML, SOAP and Web Services Development manual, but it's 99 Euro.
Something I used in the past was idRunner which is an extension to the indy library and it allows you to develop ISAPI dll's which your application then runs. The advantage of this approach, is you can deploy a standalone application to run your soap service, that can easily be deployed via IIS at a later date.
For debugging, I strongly suggest the idDebugger on the same page. It makes debugging ISAPI applications very easy.
Here is a step-by-step solution "Delphi 7 Indy Standalone Web Services/SOAP Server" which looks like it can be useful for Delphi 2009 too:
http://www.digicoast.com/delphi_soap_standalone.html
Update:
this solutions uses IdHTTPWebBrokerBridge, it can be used in Delphi 2009 with minor changes.