Hello fellow code monkies!
Here is my situation: I have a WCF service that is hosted on IIS that connects to a DB and pulls data into a SmartPart on my MOSS 2007 Server. The reason for this setup is that my external DB has customer information that we dont want SharePoint to host because other applications/reports are using this data.
Anways, here is the issue I am running into. I have successfully tested that my SmartPart WUC calls the WCF Service OUTSIDE of SharePoint (put it on a aspx page and then ran it from VS2008) and it successfully pulls the data down. Now when I deploy it to SharePoint and put it on a web part page, when i click the "get my data" button, it gives me a "File Not Found" error. I copied the EDIT: system.ServiceModel from my web.config and put it in the web.config in the "80" folder, however no luck. I tried debugging it and it seems to not even call my onClick event either, but I do not know what the underlying issue is.
Has anyone done what I am trying to do or have another suggestion for performing this task? I have been attempting to figure this out for the past 2 days now with no luck.