Calling a WCF web service from Spotfire extension - app.config not found?

Last post Wed, Feb 3 2010 11:42 AM by ted_snyder. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • Wed, Feb 3 2010 11:42 AM

    Calling a WCF web service from Spotfire extension - app.config not found?

    I created a new context menu extension (CustomTool<VisualContent>) from which I am trying to call a WCF web service.  When I try to create the service client, I get this exception:

    Could not find default endpoint element that references contract 'ServiceReference1.IService1' 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.

    My web service is very simple- the default service you get when you create a new "WCF Service Application" Project in Visual Studio.  I tried calling the same service from a separate Windows Forms project and that works fine.  I think the problem is that the generated app.config file, which contains all my service endpoint and binding information, is not being loaded when my tool is loaded by Spotfire.  Is there a way I can get that to happen?  I think I can write out the code for the endpoint and binding but obviously I would prefer to have it in the config file.

    Any suggestions appreciated.

    Thanks,

    Ted

Page 1 of 1 (1 items)

Spotfire's interactive information visualization and analytic solutions give users a remarkable experience for quickly and easily querying data and reporting results for superior business intelligence. From portfolio management and customer retention programs to key processes such as CRM, marketing, research, bioinformatics, yield and asset management and design for manufacturing, enterprises around the world rely on Spotfire's business analytics software to improve operational performance.

©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center