none
Calling WCF Data Service from WCF Service RRS feed

  • Question

  • Hi,

    1.Assuming my WCF service can accept odata\rest queries

    can i call wcf data service from a wcf service? i dont see why not

    2.is there a public class which convert odata query to an expression tree for entity framework?

    Thanks

     

    Sunday, January 2, 2011 9:20 PM

Answers

  • Just wanted to take advantage on the URI format\ OData query format,i tried it and it is working

    Thanks

     

     

    • Marked as answer by NoundaDee Sunday, March 13, 2011 1:26 PM
    Sunday, March 13, 2011 1:26 PM

All replies

  • Can you elaborate a little more on your scenario just so that I can understand it better.

    A Wcf Service can under the covers call a Wcf Data Service, sure, I'm not sure why you want this level of indirection.

    A typical WCF DataService is usually built on the EntityFramework. When they are, a Uri that is given to the service creates an Linq expression that is used by the entityframework for querying.

    Thanks,

    Chris


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, January 7, 2011 4:05 AM
    Moderator
  • Just wanted to take advantage on the URI format\ OData query format,i tried it and it is working

    Thanks

     

     

    • Marked as answer by NoundaDee Sunday, March 13, 2011 1:26 PM
    Sunday, March 13, 2011 1:26 PM