精华内容
下载资源
问答
  • ksoap2

    2011-07-17 21:45:46
    source

    source

    展开全文
  • 最新ksoap2

    2019-04-10 23:04:29
    ksoap2-android-assembly-3.6.4-jar-with-dependencies
  • ksoap2-android

    千次下载 热门讨论 2013-03-20 16:40:24
    ksoap2-android-assembly-3.0.0-jar-with-dependencies.jar
  • KSOAP2.rar

    2019-09-25 12:01:08
    使用KSOAP2调用WebService,可以调用.NET开发的WebService
  • ksoap2-3.6.2

    2019-01-20 10:38:17
    android调用webservice组件ksoap2-3.6.2,亲测可以使用。
  • ksoap2-3.5.0

    2019-01-20 10:36:20
    android调用webservice组件ksoap2-3.5.0,亲测可以使用。
  • ksoap2-android3.6.2

    2018-07-24 14:01:13
    最新ksoap2-android 3.6.2 jar库,最新ksoap2-android 3.6.2 jar库,最新ksoap2-android 3.6.2 jar库
  • ksoap2源码

    热门讨论 2013-05-30 14:10:33
    ksoap2源码,使用与Android端
  • ksoap2 android 3.6.0

    热门讨论 2015-11-20 22:32:19
    ksoap2 android 3.6.0 轻量级 用于 android 调用webservice的第三方jar 2015-10-15 最新版本 主页已从搬家到http://simpligility.github.io/ksoap2-android/index.html
  • MTOM ksoap2 Android

    2020-12-29 03:07:41
    <div><p>i am getting below exception while accesing a WCF service using ksoap2 in android org.xmlpull.v1.XmlPullParserException: unexpected type (position:TEXT --uuid:095 <p>Is this issue been taken...
  • android 环境下利用ksoap2框架连接webservice所需的jar包以及帮组文档
  • Android_Ksoap2

    2016-10-28 13:14:27
    Ksoap2,android提供调用web服务的开发包,并且能够很好的兼容.NET发布的服务。
  • ksoap2使用

    2017-03-16 14:19:41
    ksoap2的菜鸟教程

    结合我另一篇博客的soapui使用,首先导入ksoap2的jar包

     // 调用 的方法
            String methodName = "这里填入图四的⑤getquertresultbysql";
            // 创建HttpTransportSE传输对象
            HttpTransportSE ht = new HttpTransportSE("这里填入后台给你的接口url");
            try {
                ht.debug = true;
                // 使用SOAP1.1协议创建Envelop对象
                SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
                        SoapEnvelope.VER11);
                // 实例化SoapObject对象
                SoapObject soapObject = new SoapObject("这里传入图四的②",
                        methodName);
                        //这里如果你的请求方法没有参数的话可以忽略
                soapObject.addProperty("这里传入图四的①UserNo", "superadmin");
                soapObject.addProperty("这里传入图四的①pwd", "23422223");
                envelope.bodyOut = soapObject;
                // 设置与.NET提供的webservice保持较好的兼容性
                //envelope.dotNet = true;
                // 调用webservice
                ht.call("这里传入图四的②" + methodName, envelope);
                if (envelope.getResponse() != null) {
                    // 获取服务器响应返回的SOAP消息
                    SoapObject result = (SoapObject) envelope.bodyIn;
                    //return 是返回结果的开放标签这里需要你根据你的返回结果修改 
                    Object detail = result.getProperty("return");
                    // 解析服务器响应的SOAP消息
                    return String.valueOf(detail);
                }
            } catch (SoapFault e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (XmlPullParserException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
            return null;
        }

    注意:如果webService运行在window,那么可以设置与.NET提供的webservice保持较好的兼容性,不然可能会没有数据,或其他异常,如果运行在linux,那么不可以设置与.NET提供的webservice保持较好的兼容性,会报错!

    展开全文
  • KSOAP2 Android 文档资料

    2017-05-18 16:27:01
    ksoap2.android.assembly 文档。
  • WebService+ksoap2天气查询源码是学习WebService调用和ksoap2使用的最佳源码。
  • ksoap2调用webservice

    2018-10-24 21:22:22
    使用ksoap2调用远程webservice,代码如下: import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; //... ...

    使用ksoap2调用远程webservice,代码如下:

    import org.ksoap2.serialization.SoapObject;
    import org.ksoap2.serialization.SoapSerializationEnvelope;
    import org.ksoap2.transport.HttpTransportSE;
    
    //...
    
    String WSDL_URI = "http://ncp.szscgl.com:9000/Interface/sDataInfrace.asmx?WSDL";
    String NAMESPACE = "http://tempuri.org/";//namespace
    
    String methodName = "checkIn"; //要调用的方法名称
    String paramXml = "..."; //发送的内容,例如一段xml
    
    String soapAction = NAMESPACE + methodName;
    SoapObject request = new SoapObject(NAMESPACE, methodName);
    	        
    request.addProperty("strXML", paramXml); //参数名称是strXML
    	      
    SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapSerializationEnvelope.VER11);
    envelope.bodyOut = request; //由于是发送请求,所以是设置bodyOut
    envelope.dotNet = true; //由于是.net开发的webservice,所以这里要设置为true
    try{
    	  HttpTransportSE httpTransportSE = new HttpTransportSE(WSDL_URI);
    	  httpTransportSE.call(soapAction, envelope);
    	  SoapObject object = (SoapObject) envelope.bodyIn;
    	  return  object.getProperty(0).toString(); //返回的结果
    }catch(Exception e){
    	  e.printStackTrace();
    	  System.out.println(methodName + "报错:"+ e.getMessage());     	
    	  return null;
    }

    jar的引用:

    相比axis,ksoap2更好用。

     

    展开全文
  • ksoap2 全jar包

    2015-10-19 15:11:19
    用于andriod调用webservice,使用简单方便。目前仅需要俩个jar包,ksoap2-j2me-core-2.1.2.jar 和 ksoap2-android-assembly-3.4.0-jar-with-dependencies.jar 都在压缩包里。
  • ksoap2-android-3.6.4.zip

    2021-04-09 19:40:22
    安卓调用webservice示例,包括ksoap2-android-3.6.4jar包
  • WebService_ksoap2_jar

    2018-03-31 21:15:43
    在Android开发中使用WebService接口所需要的ksoap2的jar包
  • 本项目是一个基于安卓的查询列车时刻表的小项目源码,,结合ksoap2进行数据解析。可以查询两站之间的车次信息和指定车次的到站信息。 
  • ksoap2-android3.5.0

    2015-11-16 13:16:03
    The ksoap2-android project provides a lightweight and efficient SOAP client library for the Android platform. It is a fork of the kSOAP2 library that is tested mostly on the Android platform, but ...
  • ksoap2.jar

    2013-05-10 14:04:57
    内含android2.2,android2.3,android2.4版本的 ksoap2.jar
  • WebService ksoap2天气查询源码是学习WebService调用和ksoap2使用的最佳源码。  
  • ksoap2的3.2.0jar

    2018-01-28 18:03:56
    这个是ksoap2,3.2.0的jar包,提供链接给博客用,网上有,但不知道csdn上有没有
  • 多个版本的ksoap2

    2014-12-23 15:28:22
    移动开发webservice时用到了ksoap2,当时因为版本的问题费了很多时间,这里把ksoap2-android-assembly-2.5.4-jar-with-dependencies,ksoap2-android-assembly-2.6.4-jar-with-depend,ksoap2-android-assembly-2.6.5...
  • I have an existing project that was built without gradle for Android Studio and I'm trying to get KSOAP2 to import.I've tried adding the ksoap2-android.3.6.2.jar file to /lib/ and then right clicking ...

    I have an existing project that was built without gradle for Android Studio and I'm trying to get KSOAP2 to import.

    I've tried adding the ksoap2-android.3.6.2.jar file to /lib/ and then right clicking and picking add to library but then a pop up menu comes up telling me it doesn't recognize the file type and to decide if it's a class, jar director, etc. I tried picking jar directory and then I added to my code

    import org.ksoap2.SoapObject;

    import org.ksoap2.serialization.PropertyInfo;

    import org.ksoap2.serialization.SoapObject;

    import org.ksoap2.serialization.SoapPrimitive;

    import org.ksoap2.serialization.SoapSerializationEnvelope;

    import org.ksoap2.transport.HttpTransportSE;

    but studio complains that it can't find ksoap2.

    How can I get this to work?

    展开全文

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,442
精华内容 576
关键字:

ksoap2