Click here to Skip to main content
13,147,812 members (33,869 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hello guys
I have a web service which returns DataSet, List etc. I want to know that how do I connect it from Android ?

Service.svc.cs
public DataSet getAllEmpInfoByCompanyId(Guid companyId)
{
    return DataSearch.getAllEmpInfoByCompanyId(companyId);
}


Service_IService.cs
[OperationContract]
DataSet getAllEmpInfoByCompanyId(Guid companyId);


This is how it is being used in current platform (.Net).
I googled and found some examples but still not quite clear.
Please guys,
Thanks
Posted 4-Mar-13 19:33pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Assuming that you are using java on the Android client, check and see if you can use Odata4j. It supports both Atom and JSON.

https://code.google.com/p/odata4j/[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 21 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100