Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Dynamics GP web services crashing

Posted on by 230

Hello community.

I'm developing an application that needs integration with Dynamics GP, so the best way to the company (since the most of the software is built using Java) is to have available web services.

Everything seemed to work just fine, but we're facing an issue when the GetPurchaseOrderByKey action is called, the web service module crashes.

Certainly, I'm not a GP expert, but, where should I look to get the error? have you experienced the same? is there a common fix to this?

Thanks in advance.

*This post is locked for comments

  • Efrain Profile Picture
    Efrain 230 on at
    RE: Dynamics GP web services crashing

    Ok.... I'm not a .NET developer but I've tried this:

    [Click here in case you can't see the embedded]

    I get this error:

    The HTTP service located at http://test_host:48620/DynamicsGPWebServices/DynamicsGPService.asmx is unavailable.  This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.

    It fails at line 38, and if you look at the 29 line, you'll see I'm actually invoking a call to that host, that's the odd thing. I mean, why it fails when I call that action?

    Other message I get from the same exception object:

    The remote server returned an error: (503) Server Unavailable.

    The server is not busy at all, actually I'm the only one connected to it. I hope you can help me.
    Regards, Efraín.

  • soma Profile Picture
    soma 24,406 on at
    RE: Dynamics GP web services crashing

    Will you try to create a sample application with help of below link and let us know the status?

    http://msdn.microsoft.com/en-us/library/cc508508.aspx

  • Efrain Profile Picture
    Efrain 230 on at
    RE: Dynamics GP web services crashing

    Yes... the problem is that the exception I get is Connection refused.

    I can perform any other call, but when I do that one the web services just crash.

  • soma Profile Picture
    soma 24,406 on at
    RE: Dynamics GP web services crashing

    Have you used "try catch" method on your coding before calling the GetPurchaseOrderByKey?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans