title: Send Multiple values as a parameter using SOAP in android?
body: <p>Can some body please guide me on this.I am totally new to using KSOAP in android.Following are my details in XML.And i want to Send the details in webservice.Please tell me how to addProperty am i doing something wrong there?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Body&gt;
      &lt;CheckLoginWithIPhoneData xmlns="http://tempuri.org/"&gt;
        &lt;UserName&gt;string&lt;/UserName&gt;
        &lt;Pin&gt;string&lt;/Pin&gt;
        &lt;Password&gt;string&lt;/Password&gt;
        &lt;DeviceID&gt;string&lt;/DeviceID&gt;
      &lt;/CheckLoginWithIPhoneData&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>And in java code I have done this:</p>
  
  <pre><code>public void showdetails() 
      {
          SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME1);
  
          request.addProperty("UserName","sometext");
          request.addProperty("Pin","sometext");
          request.addProperty("Password","sometext");
          request.addProperty("DeviceID","sometext");
  
          SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER11);
          envelope.setOutputSoapObject(request);
          envelope.dotNet = true;
  
          try {
  
              HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
              androidHttpTransport.debug=true;
              androidHttpTransport.call(SOAP_ACTION1, envelope);
              Log.e("RESPONSE",""+androidHttpTransport.responseDump);
  
              SoapObject result = (SoapObject) envelope.bodyIn;
              Log.e("result",""+result);
  
              if (result != null)
  
              {
                  Log.e("val", "" + result.getProperty(0).toString());
              }
  
              else
  
              {
                  Toast.makeText(getApplicationContext(), "No Response",Toast.LENGTH_LONG).show();
              }
  
          } catch (Exception e) {
  
              e.printStackTrace();
  
          }
  
      }
  </code></pre>
  
  <p>I have called the method in background.</p>
  
  <p>However I get the following error when i try to print the RESPONSE
  Log.e("RESPONSE",""+androidHttpTransport.responseDump);</p>
  
  <p><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Client&lt;/faultcode&gt;&lt;faultstring&gt;</code>
  System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: <a href="https://tempuri.org/CheckLoginWithIPhoneData" rel="nofollow">https://tempuri.org/CheckLoginWithIPhoneData</a>.</p>