Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm in a bind he
I have a C# component implementing a UDF. it works great (shows up in Excel, etc) This function needs ability to make a call to a WCF Service but is not able to do so. It seems to be a permissions issue of some sort. I can call the WCF From any other component just not from the UDF.... any thoughts ? here is the err message: System.InvalidOperationException: Could not find default endpoint element that references contract 'GetDataServiceProxy.IGetDataService' 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. Here is the calling code which was literally copied from a C# Console tester that works great.......this bombs on the first line where I attempt to instantiate the proxy. GetDataServiceProxy.GetDataServiceClient UI = new GettDataServiceProxy.GetDataServiceClient(); DtoGetDataRequest request = new DtoGetDataRequest(TableName, ColumnName, Filters, Aggy); DtoGetDataResponse response = UI.GetData(request); return response.Value; } -- Cheers, Gregory A Jackson Portland, OR |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to call a soap web service in excel 2007 | Excel Programming | |||
Can you call a Web Service from Excel 2007 without writing code? | Excel Discussion (Misc queries) | |||
Novice trying to call a web service using Excel 2003 | Excel Programming | |||
Difference between a Service Release and a Service Pack? | Excel Programming | |||
Call a Web Service ??? | Excel Programming |