Simple WCF question.
Posted
by bearrito
on Stack Overflow
See other posts from Stack Overflow
or by bearrito
Published on 2010-05-28T14:27:29Z
Indexed on
2010/05/28
14:32 UTC
Read the original article
Hit count: 277
wcfservice
|wcf-client
So I am learning WCF and I have run across an issue that I believe has to do with Instance Control/State but I am not sure.
Workflow is as follows, Basic client/server paradigm.
The client calls a Method RetrieveBusinessObjects(criteria) and the server calls the datalayer and then puts them in an IList on the server side. It does not return this list to the calling Client.
The client would then call a method say DisplayBusinessObjects() which would retrieve the IList from the Server, serialize them, bring them across the wire and display them.
If i try this using the WCFTestClient it works. If I run it from an actual client then I get back an BusinessObject[] of size 0. Which to me indicates I had no objects to return.
Is that a state mgmt issue or am I missing something?
© Stack Overflow or respective owner