Visual Studio 2005
To connect to the legacy endpoint of the Dynamics GP service with Visual Studio 2005, you need to add a web reference to your project. The following procedure explains how to do this for a C# project.
Choose to add a web reference.
In the Project menu, choose Add Web Reference. The Add Web Reference window will be displayed.
Supply the URL for the legacy endpoint.
Refer to Endpoint URLs to determine the URL to use. After the URL has been entered, click Go to search for the legacy endpoint. When the service is found, its information will be displayed.
Name the web service reference.
The web service will be referenced in your code, so it must be given a name. The Web reference name control provides a place to enter the name.
Hint: Throughout this documentation, the web reference to the legacy endpoint of the Dynamics GP service is named "DynamicsGPService".
Add the web reference.
Click Add Reference to create the proxy for the web service.
The following illustration shows the web reference in a Visual C# project that connects to the legacy endpoint of the Dynamics GP service.