Reputation: 3241
I have a silverlight application that runs WCF services.
I have created a WCF service on the server side, it has a data contract. I have also added the service reference on the client side.
I now want the client side to be able to access the data from the server side, so when i tried writting serviceReference.dataContract_Name, it didnt work.
The data contract does not appear in the service reference either.
I dont know if this makes sense, can someone identify what it is?
Thanks.
Upvotes: 1
Views: 723
Reputation: 3839
If you wanna get data contract on client side, you should declare operation contract with this data contract as argument or as return type. Check this in your code, it can be the reason.
Upvotes: 4