eConnect vs. GP Web Services vs. SBA vs. Custom .NET REST API vs. Dex ??

  • eConnect vs. GP Web Services vs. SBA vs. Custom .NET REST API vs. Dex ??

    Posted by Unknown Member on October 13, 2017 at 1:30 pm
    • Steve Endow

      Member

      October 13, 2017 at 1:30 PM

      Hi developers and system integrators,

      During two GPUG Summit developer sessions, attendees had some questions about which integration method / API they should use with Dynamics GP for various integration scenarios.

      During the sessions, David and Mariano explained some of the pros and cons of the GP interfaces and I mentioned some situations where a custom .NET API might be beneficial.

      If anyone has questions about the pros or cons of each of the technologies or when each might be useful, feel free and post a question here.

      I’m tagging Mariano and David to loop them in.

      ??

      ——————————
      Steve Endow, Microsoft MVP
      Precipio Services
      Los Angeles, CA
      ——————————

    • Ed Wax

      Member

      November 20, 2018 at 12:39 PM

      I’m currently using the “hidden” eConnect WCF service for my .NET REST APIs (seems to work just fine).Ā Ā  I’m not familiar with GP Web Services so I’d be interested in finding out more about them.Ā  Can you provide any pointers/references?

      ——————————
      Ed Wax
      Pharmaca Integrative Pharmacy
      Boulder CO
      ——————————
      ——————————————-

    • Steve Endow

      Member

      November 26, 2018 at 12:40 PM

      Hi ,

      I’m intrigued by your idea of calling the eConnect WCF service directly. I’d be interested in learning more about that and your use case.Ā  Are you serializing the XML yourself / on another system and then submitting it to the eConnect service?

      As for GP Web Services, I personally don’t recommend using it for most of my customers.Ā  It does work, but tends to be a hassle to get installed and configured properly, has a fair amount of overhead, and it is SOAP based.Ā  I’ve found it to be very difficult / nearly impossible to use with some non-Microsoft platforms, such as external SaaS providers who typically use a Linux based platform.Ā  It’s also not a terribly friendly API to work with, IMO.

      I’ve been providing my customers with a custom ASP.NET Core web API using http / JSON / REST and a Swagger interface. It’s extremely fast and reliable, simple to deploy, and easy to update and maintain.Ā Ā The only currently downside is the development time, but I’m working on building a standard project that I can re-use with customers to decrease the cost.

      ——————————
      Steve Endow, Microsoft MVP
      Precipio Services
      Los Angeles, CA
      steveendow (at) gmail (dot) com
      ——————————
      ——————————————-

    • Ed Wax

      Member

      November 26, 2018 at 2:10 PM

      Steve,

      I worked with WCF for a number of years (previous tour stops)Ā  so quite familiar with the technology, especially svcutil.Ā  I’ve discovered that eConnect is installed as a Windows Service which, in turn, hosts a WCF service with a couple of endpoints:

      WCF-based webservice for eConnect
      I have a simple class that includes this service reference and therefore I have the endpoints listed above available to me, primarily CreateEntity.Ā  I accept a Microsoft.Dynamics.GP.eConnect.Serialization.eConnectType object (which holds any/all eConnect data types).Ā  The object is serialized and sent to the eConnect WCF service, creating a client channel as needed.Ā Ā  All of my REST API calls for eConnect go thru this class.Ā  By encapsulating and abstracting away the WCF details, this just looks like any other method call.

      The secret sauce is in your app/web config where you specify the connection string for the desired PHARM database.Ā  In my case I have a production database and a test database we use for unit testing using the exact same code base.

      ——————————
      Ed Wax
      Pharmaca Integrative Pharmacy
      Boulder CO
      ——————————
      ——————————————-

    • Angela Morehouse

      Member

      November 13, 2019 at 4:23 PM

      Apologies upfront for replying to an old post, but hoping someone can help. Is there a tool, Web Service, econnect, third party option, anything that you can use to load a document to the doc attach in GP from an outside source?Ā  Simple example. We’d like to load the W-9 to the vendor card from a workflow that is built in our document management system.Ā  Is there a way to get the document, not just the vendor card data into GP?Ā  Thanks in advance.

      ——————————
      Angela Morehouse
      CC Industries
      Chicago IL
      ——————————
      ——————————————-

    • David Musgrave

      Member

      November 14, 2019 at 4:53 AM

      I don’t know if there is a tool that exists already, but I can offer you a solution.

      GP Power Tools offers the ability to create custom Service Based Architecture (SBA) web services. You just need to get the standard Dynamics GP SBA functionality working, Install GP Power Tools and then you can call the custom webservices.? Once that is working we need to create a GP Power Tools script that drives the GP user interface or calls the appropriate back end code to perform the actions you desire.

      We could go the custom development route, but using GP Power Tools, just needs a custom script which can interpret the data passed in (Vendor ID, UNC Network Path to document to attach, etc.).

      Let me know if you want to discuss further.

      Regards

      David

      ——————————
      David Musgrave MVP, GPUG All-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    Unknown Member replied 7 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘eConnect vs. GP Web Services vs. SBA vs. Custom .NET REST API vs. Dex ??’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!