Open Forum

Expand all | Collapse all

Webservices for multiple processes

  • 1.  Webservices for multiple processes

    Posted 9 days ago
    Good morning.  We currently use web services for the workflow process.  We are in the process of switching to a new TMS and to integrate from that TMS to GP, they also require web services functionality.  Can web services run multiple processes or can it only run one?  Any guidance you can provide would be greatly appreciated.  Thanks!

    ------------------------------
    Torye Marek
    Midwest Refrigerated Services, Inc.
    Elkhorn WI
    ------------------------------
    Academy - Online Interactive Learning from Experts


  • 2.  RE: Webservices for multiple processes

    TOP CONTRIBUTOR
    Posted 8 days ago
    We have multiple feeds from various sources to one GP Web Services Server and it works well enough. Watch data volume and adjust the Server specs if need.

    I do see an issue occasionally where GP Web Services lose connection to the SQL and becomes unresponsive. Not all the way up and not all the way down. After much troubleshooting Microsoft issued a never-fix. I have a small PowerShell script that sits on the GP Web Services Server and looks at the event log for a specific error. If it sees the error it kills the process and restarts the Service. Back up within minutes. Reach out and I will send you my notes (or find my old link to it)

    ------------------------------
    David Morinello
    Senior Dynamics GP Systems Architect
    Ascend Learning, LLC
    Leawood KS
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: Webservices for multiple processes

    GPUG ALL STAR
    Posted 8 days ago
    I will echo @David Morinello​ as we also use Web Services and yes, it is flaky.  We also have a daemon running which pings web services and restarts the services if non-responsive as heavy loads can take it down without notice.  That being said, it shouldn't be a problem to have multiple programs going through Web Services at the same time as long as the server can process the load in a timely manner.  For that, you'll want to watch the logs and check your server specs against what the third party advocates to make sure you have enough hardware capacity - and don't forget to check your networking/backplane!

    ------------------------------
    Blair Christensen
    Database Administrator
    Oppenheimer Companies, Inc.
    Boise Idaho GPUG Chapter Leader
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 4.  RE: Webservices for multiple processes

    TOP CONTRIBUTOR
    Posted 8 days ago
    I used to have a product suggestion out there but it went away with the changeover a long while back.

    I have resubmitted a GP Web Services fix/enhancement suggestion...
    https://experience.dynamics.com/ideas/idea/?ideaid=b3f709f3-b20f-eb11-8441-0003ff68cf42


    ------------------------------
    David Morinello
    Senior Dynamics GP Systems Architect
    Ascend Learning, LLC
    Leawood KS
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 5.  RE: Webservices for multiple processes

    TOP CONTRIBUTOR
    Posted 8 days ago
    Here is a link to my PowerShell workaround I created back when we first encountered the "Handle is Invalid" Windows Event log error.

    https://davidmorinello.wordpress.com/2020/10/16/my-workaround-for-the-dynamics-gp-web-service-handle-is-invalid-windows-event-log-error/


    ------------------------------
    David Morinello
    Senior Dynamics GP Systems Architect
    Ascend Learning, LLC
    Leawood KS
    ------------------------------

    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role