Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Issues with GP 2010 web services installation

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have been unable to get GP 2010 Web Services to create a IIS Web site as part of a new server install. We're installing on WS 2008R2/SQL 2008R2/IIS7 and it looks to proceed fine - runs the Configuration Wizard properly while creating all the objects. Just doesn't create any web sites that we can then access. The Dynamics GP Service Host service is running find and the Dynamics Security Console is installed. Anybody have any suggestions? We are also unable to get Workflow to install because of this.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Issues with GP 2010 web services installation

    Hi Steve,

    It was because I am using an external website application to parse the wsdl.  Therefore, the application won't beable to reach the internet server name.  It has to be the external URL.  

    I was able to find that after changing it to dynamically generated wsdl.  I also needed to change the base address in the DynamicsGP.config.  After that, it works.  Thanks for all your help.

    Edward

  • Steve Kubis Profile Picture
    Steve Kubis on at
    Re: Issues with GP 2010 web services installation

    You haven't really explained how the server name difference causes problems for your application. More details there may help track down the issue.

    From my experience, which is mostly with using Visual Studio to consume the Web Service reference, the URL specifying the WSDL location gets used when retrieving the pieces of the WSDL. It also gets stored in the .config file for the application, and is the URL that the application tries to use when accessing the web service. For a Visual Studio-based application, that's why the URL is put into the .config file -- so ti can be configured to point to a Dynamics GP Web Service that is running on a different machine.

    You haven't said what tool you are using to consume the WSDL. If you are using Visual Studio, is there a reason you can't just modify the URL in the .config file for the application that you are creating?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Issues with GP 2010 web services installation

    Hi Steve,

    I changed both Native and Legacy configs to dynamically generated.  Now both end points take extra time to load up but the wsdl is still pulling the internal server name instead of URL I am accessing from the outside.  Any idea?

    Thanks,

    Edward

  • Steve Kubis Profile Picture
    Steve Kubis on at
    Re: Issues with GP 2010 web services installation

    You do need to include the port number in the URL, because the GP Web Service is running on port 48620.

    It looks like you're seeing the static WSDL. This topic (the same content as in the Programmer's Guide) from MSDN discusses how to switch to the dynamic generation of the WSDL document:

    msdn.microsoft.com/.../ff623138.aspx

    From your second comment, and re-reading your first comment, it sounds like you aren't putting in the full URL when you try to access the WSDL. You do need to include the port number for the WSDL to be accessed.

    I would try one more time to access the WSDL, using the full URL with the port number.

    Steve

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Issues with GP 2010 web services installation

    Hi Steve,

    Thanks for the response.

    I tried to find it in the Web Service Programmer's Guide.  It mentions around page 17 that I can click Service Description on http://machine_name/DynamicsGPWebServices/DynamicsGPService.asmx to get the WSDL.  Is this the dynamically-generated WSDL you referred to?

    However my problem is the I can't get to http://machinename/DynamicsGPWebServices/DynamicsGPService.asmx.  I can only get to http://machinename:48620/DynamicsGPWebServices where it says "To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

    svcutil.exe http://machinename:48620/Metadata/Legacy/Full/DynamicsGP.wsdl".  Then I clicked on it and it gave the static WSDL.  Any idea?

    Thanks,

    Edward

  • Steve Kubis Profile Picture
    Steve Kubis on at
    Re: Issues with GP 2010 web services installation

    In the default configuration, Dynamics GP Web Services uses static versions of the WSDL documents. You might be seeing hard-coded names in the WSDL documents. You could try the dynamically-generated WSDL to see if that helps. See the "WSDL generation" topic in the Web Service Programmer's Guide for details about how to switch from the static WSDL to the dynamically-generated WSDL. Look for it around page 17.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Issues with GP 2010 web services installation

    Hi All,

    The web services works fine within the intranet.  However, when I have application trying to access through the internet for example: www.mywebservices.com/DynamicsGPWebservices, it seems like the URLs in the wsdl are hard-coded with the internal server name like http://myserver:48620/Metadata/Legacy/Full/DynamicsGPWebServices.xsd.  Because of that, my application cannot fully parse the wsdl.  Any ideas?

    Thanks,

    Edward

  • Bsaad Profile Picture
    Bsaad 1,520 on at
    Re: Issues with GP 2010 web services installation

    Hi All,

    I'm having the same issue no websites on IIS for the web services (win 2008 R2/IIS7) I tried the suggested solutions but still can't figure out how this thing works.

    Please help.

    Thank you

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Issues with GP 2010 web services installation

    It took some doing, and eventually needed to setup a new web site to get it to work but it is now on. We are running on WS 2008 R2 and it did take using the Pre-2000 naming convention when trying to get past the Domain login account. Nothing like a hands on education.

    Thanks again

  • Steve Kubis Profile Picture
    Steve Kubis on at
    Re: Issues with GP 2010 web services installation

    If you continue to have issues, be sure to post which operating system you are installing on. Windows Server 2008 has more strict security rules, so that could be one of the issues you are encountering when you supply to domain and user name.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans