Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>hi here is good example to implement <a href="http://seesharpgears.blogspot.com/2010/11/basic-ksoap-android-tutorial.html" rel="nofollow">SOAP</a> .</p> <p>I have used this and perfectly work for me. you can download <a href="http://ksoap2-android-assembly-2.4-jar-with-dependencies.jar" rel="nofollow">ksoap2-android-assembly-2.4-jar-with-dependencies.jar</a> lib from here.</p> <p>here is my code snippet....</p> <pre><code> String NAMESPACE = "http://www.namespace.com/"; String METHOD_NAME = "login"; String SOAP_ACTION = "http://www.namespace.com/loginRequest"; String URL = "http://www.domainname.com:8080/AccessWEbService?wsdl"; SoapObject loginRequest = new SoapObject(NAMESPACE, METHOD_NAME); SoapObject inLoginDto = new SoapObject(NAMESPACE, "LoginDetail"); inLoginDto.addAttribute("username", ""); inLoginDto.addProperty("username", etUserName.getText().toString()); inLoginDto.addProperty("password", etPassword.getText().toString()); loginRequest.addProperty("loginDetails", inLoginDto); Log.e("Soap Request : ", "" + loginRequest); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(loginRequest); AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(URL); try { androidHttpTransport.call(SOAP_ACTION, envelope); SoapObject response = (SoapObject) envelope.getResponse(); Boolean loginStatus = Boolean.getBoolean(response.getProperty("success").toString()); } catch (Exception e) { Log.e("Exception ", "" + e); } </code></pre> <p>try it if can help you...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload