Jeff Wright 11/17/2010 2:59:44 PM

eConnect 2010 Service Reference Example

Does anybody have a sample project that uses the Service Reference instead of the eConnect .dll's? I have a working solution, but am trying to use the service ref instead - and I am getting the famous error

"Could not find default endpoint element that references contract 'eConnectService.eConnect' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."


I have tried to update all the config files I could find, as well as manually passing in the endpoint. All attempts fail to create the eConnect object. Just a note... I am developing on a box that is NOT the sql server.


See Sample attempts below:


Dim SVC_eConCall As New eConnectService.eConnectClient()
Dim SVC_eConCall As New eConnectService.eConnectClient("net.pipe://LocalHost/Microsoft/Dynamics/GP/eConnect/")


Version: GP 2010
Section: eConnect

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables