调用Android的web服务Android、web

2023-09-07 12:29:25 作者:无法抗拒·

我在Android应用程序中一个Web服务,我有独特叫声的web服务的响应如下:

I have a webservice in android application which i have to call.The response of the webservice is as follows

<vmsc>
<response code="0" message="Success"/>
−
<responsedata>
−
<productcategories>
−
<productcategory>
<id>1</id>
<title>Celebrities</title>
<description>Celebrities</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>2</id>
<title>Music</title>
<description>Music</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>3</id>
<title>Sports</title>
<description>Sports</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>4</id>
<title>Fashion</title>
<description>Fashion</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>5</id>
<title>Religion</title>
<description>Religion</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>6</id>
<title>Others</title>
<description>Others</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>7</id>
<title>Education</title>
<description>Education</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>8</id>
<title>Charity</title>
<description>Charity</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>9</id>
<title>Film</title>
<description>Film</description>
<image>
        </image>
</productcategory>
−
<productcategory>
<id>10</id>
<title>Health</title>
<description>Health</description>
<image>
        </image>
</productcategory>
</productcategories>
</responsedata>
</vmsc>

谁能告诉我应该怎么称呼这个web服务...

Can anyone tell how should i call this webservice...

在此先感谢图莎尔

Thanks in advance Tushar

推荐答案

试试这个教程意甲:

的http://p-xr.com/android-tutorial-series-from-sql-php-to-xml-json-to-android-listview/