Facing problem while importing org.ksoap2.SoapEnvelope

纵然是瞬间 提交于 2019-12-10 17:56:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!