Answered by:
wcf client for odata services

Question
-
Hi,
I am new to wcf client. I like to write a client program to consume odata services. Please give me suggesstions to work on it.
Wednesday, September 7, 2011 5:50 AM
Answers
-
You can begin from http://msdn.microsoft.com/en-us/data/ee720180.
Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
Windows Azure Technical Forum Support Team Blog- Marked as answer by Yi-Lun Luo Tuesday, September 13, 2011 9:34 AM
Thursday, September 8, 2011 2:01 AM -
Add to Yi-lun's comment:
For .NET, there is "Data Service Client Library" for consuming OData Service:
#WCF Data Services Client Library
http://msdn.microsoft.com/en-us/library/cc668772.aspxAnd if you use Visual Studio, you can simply use "Add ServiceReference" dialog against the metadata of the target OData service to generate client proxy types:
#Add Service Reference Dialog Box
http://msdn.microsoft.com/en-us/library/bb386382.aspxor you can also use the DataSvcUtil.exe commandline tool:
#How to: Manually Generate Client Data Service Classes (WCF Data Services)
http://msdn.microsoft.com/en-us/library/dd756369.aspx
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Yi-Lun Luo Tuesday, September 13, 2011 9:34 AM
Tuesday, September 13, 2011 2:43 AM
All replies
-
You can begin from http://msdn.microsoft.com/en-us/data/ee720180.
Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
Windows Azure Technical Forum Support Team Blog- Marked as answer by Yi-Lun Luo Tuesday, September 13, 2011 9:34 AM
Thursday, September 8, 2011 2:01 AM -
Add to Yi-lun's comment:
For .NET, there is "Data Service Client Library" for consuming OData Service:
#WCF Data Services Client Library
http://msdn.microsoft.com/en-us/library/cc668772.aspxAnd if you use Visual Studio, you can simply use "Add ServiceReference" dialog against the metadata of the target OData service to generate client proxy types:
#Add Service Reference Dialog Box
http://msdn.microsoft.com/en-us/library/bb386382.aspxor you can also use the DataSvcUtil.exe commandline tool:
#How to: Manually Generate Client Data Service Classes (WCF Data Services)
http://msdn.microsoft.com/en-us/library/dd756369.aspx
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Yi-Lun Luo Tuesday, September 13, 2011 9:34 AM
Tuesday, September 13, 2011 2:43 AM