Question

After following the basic steps creating a custom document service with the AIF Document Service Wizard (http://technet.microsoft.com/en-us/library/aa856656.aspx). I tested it out with the WCF Test Client, but the read() method returns nothing. The Response entity returns an empty array.

I'm simply trying to retrieve rows from a table. I think I need to specify a value for the EntityKeyList, but I'm not sure what that would be. Perhaps Read is the wrong method.

Was it helpful?

Solution

I deleted the generated objects, and re-ran the AIF Document Service Wizard on my Query this time including all the CRUD methods available. Then with WCF Test Client I tried the find method. I expanded the QueryCriteria and provided a CriteriaElement of null then Invoked the request, which returned all the rows from my table!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top