-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started with ECGridOS and Visual Studio SOAP Connections
For .Net Core and .NET 5+ Apps please follow the steps for using the SrvUtil.exe from the docs.microsoft.com page or get the ServiceModel and Client from the Code Examples folder for a starting point. These frameworks do not automatically import in the class and calls from the WSDL and need to be built and developed within your code. The code examples provided are for reference only and intended to be used as a starting point and example of how you can build the SOAP service yourself. Please follow your companies policies and practices for software development. Set your own values for HTTP Bindings and don't store you passwords/secrets in plain text directly in the code.
This document provides all the basic information you need to start using the ECGridOS API in your Visual Studio project. The following will guide you through getting connected and referencing the API. The following example uses Visual Studio Community Edition 2015 and .Net 4.5. It shows how to add the ECGridOS API web reference to a new C# console project.
The same or similar process for referencing the ECGridOS API should apply to other versions of Visual Studio. Please review your versions Visual Studio documentation on how to perform this. Here is a MSDN page for an additional instruction source.
- In your Solutions Explorer, right click on references and select "Add Service Reference".
- On the Add Service Reference window, click the "Advanced" button.
- On the Service Reference Setting window, click the "Add Web Reference" button.
- On the Add Web Services, enter the URL:https://os.ecgrid.io/v4.1/prod/ECGridOS.asmx and click the "->" button. Once the API is found click the "Add Reference" button.
- Once the reference has been added you should be able to see it in the Solution Explorer and .
Getting Started
- Getting Started - Basics
- Getting Started - Extended Capabilities
- HTTP Connections
- Visual Studio SOAP Connections
- About ECGridOS and Loren Data Corp.
- Documentation & Nomenclature
- Using Web Services
- Networks & Mailboxes
- Users & Authorization Levels
- API Keys & Sessions
- Trading Partners & ECGridIDs
- Interconnects & Trading Partnerships
- Parcels, Interchanges & Mailbags
- Carbon Copies
ECGridOS API Calls
- API Calls - Full Definitions Available
- Asynchronous API Calls - Events
- Asynchronous API Calls - Task\Async\Await