Kết nối webservice.net với client là android mobile device
Friday, November 18, 2011 4:01:13 PM
Lại 1 lần nữa có xíu thất vọng...kết nối web service cũng phải down assemply về..cụ thể là down anh bạn ksoap2..down không đúng là không dùng được..đó h chỉ nghe SOAP giờ ra KSOAP..cùng phân biệt nhé:
SOAP - SOAP is an XML vocabulary used to describe messaging and remote procedure calls between distributed components.Any modern language that works with the Internet is likely to support both XML and HTTP.
KSOAP - KSOAP is a SOAP API based on kXML,where kXML is a lightweight Java-based XML parser designed to run on limited, embedded systems such as personal mobile devices. It is a pull parser which means it reads a little bit of the document at once
CONCLUSION - SOAP can be a very complex realm to explore, especially the XML mechanisms used to transfer data between disparate systems, languages, and toolkits. The wireless world requires tools of small stature and great power. Luckily when it comes to SOAP, the kSOAP toolkit provides not only small size and great functionality, but also relative simplicity and ease of use for the developer. Using kSOAP, a developer can develop complex SOAP Web services clients in a remarkably short time. (Source: http://stackoverflow.com)
Để sử dụng được ksoap library:
down cái này về: ksoap2-android-assembly-2.6.0-jar-with-dependencies bỏ vào thư mục tên lib trong project
Vào Eclipse: Click phải Tên Project/ chọn Properties/Java Build Path/Add Jar ..link tới thư mục lib
xem link này: http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java)
SOAP - SOAP is an XML vocabulary used to describe messaging and remote procedure calls between distributed components.Any modern language that works with the Internet is likely to support both XML and HTTP.
KSOAP - KSOAP is a SOAP API based on kXML,where kXML is a lightweight Java-based XML parser designed to run on limited, embedded systems such as personal mobile devices. It is a pull parser which means it reads a little bit of the document at once
CONCLUSION - SOAP can be a very complex realm to explore, especially the XML mechanisms used to transfer data between disparate systems, languages, and toolkits. The wireless world requires tools of small stature and great power. Luckily when it comes to SOAP, the kSOAP toolkit provides not only small size and great functionality, but also relative simplicity and ease of use for the developer. Using kSOAP, a developer can develop complex SOAP Web services clients in a remarkably short time. (Source: http://stackoverflow.com)
Để sử dụng được ksoap library:
down cái này về: ksoap2-android-assembly-2.6.0-jar-with-dependencies bỏ vào thư mục tên lib trong project
Vào Eclipse: Click phải Tên Project/ chọn Properties/Java Build Path/Add Jar ..link tới thư mục lib
xem link này: http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java)






