LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Managed UDF Cannot Call WCF service?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a soap web service in excel 2007 Benjamin Janecke Excel Programming 0 July 18th 07 02:04 PM
Can you call a Web Service from Excel 2007 without writing code? BigBadBubba Excel Discussion (Misc queries) 0 March 14th 07 03:32 AM
Novice trying to call a web service using Excel 2003 Neil Patel Excel Programming 0 May 17th 06 02:41 PM
Difference between a Service Release and a Service Pack? Bill Renaud[_2_] Excel Programming 2 April 16th 04 04:13 AM
Call a Web Service ??? Tanguy Excel Programming 0 January 18th 04 11:16 PM


All times are GMT +1. The time now is 09:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"