2011-04-06 25 views
0

一個WebService我在Android應用web服務,我必須call.The web服務的響應如下調用Android的

<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服務...

在此先感謝 圖莎爾

+0

請發送電子郵件至[email protected]。 – Will 2011-04-12 19:11:29

回答

0

檢查thisthis

這是KSOAP2庫與webservices進行交互。