Hi, I'm having a problem in calling .net web services from android using ksoap2. The call is executed just fine without parameters, but when I pass paramters of any type, the web service just recieves a null value. I tried everything possible but no luck so far. I hope someone can help, The client side code is:
public static boolean temp(){ try { SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME_TEMP);
PopertyInfo p = new PropertyInfo();
p.type = PropertyInfo.INTEGER_CLASS;
p.setName("num");
p.setValue(5);
p.setNamespace(NAMESPACE);
request.addProperty(p) ;
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope
(SoapEnvelope.VER11 ); envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.ENC; envelope.setOutputSoapObject(request); AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport (URL); androidHttpTransport.call(SOAP_ACTION_TEMP, envelope); ....