DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
JacobS 1/6/2011 8:47:00 AM

eConnect 2010 sample project

This post is not a 'getting started', that post is here. This post is the next step, a complete code example after setup. The code uses the 'eConnectLib' library that we're developed as an eConnect wrapper. The eConnectLib dll has one class, 'eConnectFunctions'. We keep that as a dll and drop it into all eConnect projects.

eConnect 2010 has new endpoints for the Service, now there is 'CreateEntity' and 'CreateEntityTransaction', among others.

 The these end points are mirrored in the class, and they're overloaded to take either an XML document, or an eConnectType object.

The sample code is first, followed by the complete eConnectLib.eConnectFunctions wrapper class

Version: GP 2010
Section: eConnect