bind webservice to listview

This is a discussion on bind webservice to listview within the Beginning Developers forums, part of the Android Development category; hi i am a beginner in android application development. I have developed a web service in dotnet. the methods of the webservice are returning dataset. ...

Results 1 to 3 of 3

Thread: bind webservice to listview

  1. #1
    Android Lurker s.aijaz1's Avatar
    Join Date
    Jul 2011

    bind webservice to listview


    i am a beginner in android application development. I have developed a web service in dotnet. the methods of the webservice are returning dataset. I need a help to understand how do we bind a webservice to list view for android(Eclipse). im stuck please help. below is web method:

    [WebMethod(Description = "the method fetches clean log for a customer")]
    public DataSet FetchCleanLog(int CustomerID)
    DataSet aDataSet = new DataSet();
    CleanLogBL bl = new CleanLogBL(0);
    bl.FetchAllForCustomer(aDataSet, CustomerID);
    return aDataSet;

    <DataSet xmlns="">
    <xs:schema xmlns="" xmlns:xs="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"id="NewDataSet">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="tbCleanLog">
    <xs:element name="CleanLog" type="xs:long" minOccurs="0"/>
    <xs:element name="Customer" type="xs:long" minOccurs="0"/>
    <xs:element name="Name" type="xs:string" minOccurs="0"/>
    <xs:element name="Cleaned" type="xs:boolean" minOccurs="0"/>
    <xs:element name="Color" type="xs:long" minOccurs="0"/>
    <xs:element name="ColorName" type="xs:string" minOccurs="0"/>
    <xs:element name="CleanDate" type="xs:string" minOccurs="0"/>
    <xs:element name="CreatedBySystemUser" type="xs:long" minOccurs="0"/>
    <xs:element name="CreatedOnDate" type="xs:string" minOccurs="0"/>
    <xs:element name="ModifiedBySystemUser" type="xs:long" minOccurs="0"/>
    <xs:element name="ModifiedOnDate" type="xs:string" minOccurs="0"/>








    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    <NewDataSet xmlns="">
    <tbCleanLog diffgr:id="tbCleanLog1" msdata:rowOrder="0">
    <ColorName>Yellow Brava</ColorName>





  2. is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Super Moderator Droid-Xer's Avatar
    Join Date
    Jan 2011
    El Paso, TX
    59 times
    let me move this to the correct section for more help

  4. #3
    App Developer alostpacket's Avatar
    Join Date
    Jan 2011
    31 times
    I dont use Webservices because... well... webservices.... I'll hold my toungue.

    Anyways, Android doesnt have built in webservice <-> view binding. You'd have to bind it manually or try and find a library that helps you bind it.

    For XML parsing I'd reccommend the DOM or SAX parser in the Android API, and for binding a data model to a Listview, you should look into creating an array of custom Java objects and extending the BaseAdapter interface. BaseAdapter will help you connect your data to the ListView.

    Hope that helps.

Remove Ads

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search tags for this page

andriod bind listview to soap webservice

android .net web service dataset

android listview dataset
android listview populate webservice

android listview web service

android listview webservice
android populate listview from web service
android populate listview web service
android web service listview dataset example

android webservice dataset

android webservice dataset listview

android webservice listview

binding web service to list view
how to bind listview with webservices method
how to bind the data to listview in android application from a .net web service
Click on a term to search our sites for related topics.
Android Forum