Here is my scenario..

I have created a BDC model project in VS2010 for deployment in SharePoint2010. I have added a service reference to a WCF service that we have running on another system. I want my ReadList method to call the WCF service on the other system to pull data to be shown in the list.

I have created a unit test for the ReadList method to verify it works before deploying. The error message that I get is "Could not find default endpoint element that references contract 'TicketsWCF.ITickets' in the ServiceModel client configuration section."

When I add the service reference an app.config is added to the project which appears to have everything that I need for the service to run.

My two questions are

  1. Has anyone gotten a WCF service to a non-sharepoint external system working with BDC

  2. When the model is deployed will the app.config settings get appropriately placed within the sharepoint system?

link|improve this question

If you are creating a BDC model project in VS2010 you are probably using a BDC .NET Assembly Connector. Can you confirm this is your setup BDC -> .NET Assembly Connector -> WCF -> External System? I have it working but my setup is BDC -> WCF -> External System. – MLF Jun 7 '11 at 15:25
1  
If you want to create a BDC that uses WCF then use SharePoint Designer to get you started. Here is an example Business Connectivity Services (BCS) Using WCF & SharePoint Designer 2010 – MLF Jun 7 '11 at 17:22
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.