Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

GP 2010 - Connecting to Web Services

Posted on by 35

Hi There,

I am a developer wanting to write an interface to GP 2010 Web Services.
My client is going to upgrade to GP 2010 so I need to write the code to call the GP web services to create GL entries etc.

I've got the web services sdk and would like to be able to either

(a) Install the GP Web Services on my machine OR

(b) Get a copy of the GP wsdl files so I can mock the web services

When I go to install the GP Web Services, it complains because I don't have a GP 2010 database set up, does anyone know where I can get a backup of a base GP 2010 database so I can run these web services.

Failing this can someone point me in the direction of the WSDL files for GP 2010 so I can write my interface against these.

Many Thanks,

Phil 

 

 

*This post is locked for comments

  • Phil Leitch Profile Picture
    Phil Leitch 35 on at
    Re: Re: GP 2010 - Connecting to Web Services

    Thanks for the Reply Sandip,

    My understanding is that Visual Studio uses a wsdl file in order to build its Web References and when I look at the samples shipped with the WebServicesSDK, it used the following files in order to build the WebReferences to DynamicsGPService:

     \DynamicsGPService\DynamicsGP.wsdl
        \DynamicsGPService\GPService.wsdl
        \DynamicsGPService\GPService.xsd
        \DynamicsGPService\GPService1.xsd
        \DynamicsGPService\GPService2.xsd
        \DynamicsGPService\GPService3.xsd
        \DynamicsGPService\GPService4.xsd
        \DynamicsGPService\GPService5.xsd
        \DynamicsGPService\GPService6.xsd 

    Does anyone know where I can get these files from so I can build the WebReference in Visual Studio and mock the web service. I don't really want to have to install DynamicsGP if I can avoid it as all I'm doing is writing calls to their web services.

    Thanks,
    Phil

     

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    Re: GP 2010 - Connecting to Web Services

    Phil,

    When you install Dynamics GP WebService it create some custom tables and storeprocedures thats the reason you got error for GP Database, your development envirnoment must have "Dynamics" and "Company Database". Once you installed GP WebServices sucessfully you can use those webreference it is not just use "wsdl" files to mock the WebServices.

    I will recomend in production to install Dynamics GP webService in seperate server not on GP Database server.

     

    Thanks

    Sandip

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