How to get ESRI Addin to read the System.ServiceModel configuration?

المشرف العام

Administrator
طاقم الإدارة
I have a complex set of add-in's that we need to run in ArcMap, ArcServer, and ArcGIS Explorer for Desktop. We are experimenting with changing from the old Web Reference service connection to a WCF Service Reference connection.

When I try to create the client it cannot find the configuration settings to create the client. When I add just the URI to the embedded Settings.settings file, and create an EndpointAddress and Binding object to pass to the client, I get a client but my first attempt to access the server fails.

So how do I access the WCF service configuration data from inside an ArcMap Addin?



أكثر...
 
أعلى