eConnect APIs

eConnect provides a collection of APIs that allow you to use the business objects. There are APIs for Microsoft .NET, and Microsoft Message Queuing (MSMQ). The variety of eConnect APIs allows you to use the interface that best fits your integration project and the available development tools.

To support its API, eConnect supplies a Windows service named eConnect for Microsoft Dynamics GP 2010 Integration Service. The eConnect Integration Service manages interaction between your application and the eConnect business objects. You must install the eConnect Integration Service in the Services on the computer you use to run your applicaiton. Refer to the eConnect Installation and Administration Guide for information about installing and configuring the eConnect Integration Service.

To use the eConnect API, your application must create or read eConnect XML documents. Refer to eConnect XML Documents for additional information about creating eConnect XML documents.

The eConnect install includes files containing the XML schema for all its documents. A schema is an XML file (with typical extension .xsd) that describes the syntax and semantics of XML documents using a standard XML syntax. An XML schema specifies the content constraints and the vocabulary that compliant documents must accommodate.

You can use these files to perform validation. When eConnect validates a document, it uses the schema to ensure the document contains the expected information. It rejects documents that do not comply with the schema specifications. The schema files can also serve as a reference. Since the files describe each type of eConnect document, you can use them to research questions about the schemas, nodes, and elements a document may contain.

The following APIs use XML documents and the eConnect Integration Service:

Microsoft .NET

When you install the eConnect integration Service, the installer places two .NET assemblies on your computer. The installer also registers these assemblies in the global assembly cache.

You can add these assemblies to a Visual Studio project by adding a reference to each assembly file. Once you include the .NET assemblies in your project, you gain access to the eConnect Integration Service. The .NET assemblies enable your application to parse eConnect XML documents, create a connection to the Microsoft Dynamics GP server and call the eConnect business objects. Your eConnect enabled solution can then use XML documents to create, delete, update, or retrieve Microsoft Dynamics GP data.

Refer to eConnect and .NET for information about creating solutions using the eConnect .NET assemblies.

MSMQ

The MSMQ API includes two Windows services. The services are as follows: