问题
Am working with web service. Got some sample code from internet. Got some error while importing
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.AndroidHttpTransport;
Not able to proceed .Can any one help me. Thanks in advance
回答1:
you havnt added the ksoap jar file in your project, add library first
get it from HERE or http://sourceforge.net/projects/ksoap2/
回答2:
Steps to add Ksoap .jar file in Project: Right Click on Project --> Select PROPERTIES --> Click on JAVA BUILDPATH --> select LIBRARIES --> click on ADD EXTERNAL JARS --> select JAR file from storage path and finally click OK
来源:https://stackoverflow.com/questions/7441228/facing-problem-while-importing-org-ksoap2-soapenvelope