Hi wedyan,

I had also the same problem but finally i got the solution. I have
some steps for you, just go through it.
1) Remove PropertyInfo from your code and add this like:

SoapObject request = new SoapObject(NAMESPACE,METHOD_NAME_TEMP);
// if you have 2 params in .net than add property this way. Suppose,
"sum of two integers" instead of PropertyInfo
request.addProperty("num", str1);
request.addProperty("b", str2);

2) Use HttpTransportSE instead of AndroidHttpTransport. and add
androidHttpTransport.setXmlVersionTag("<?xml version=\"1.0\" encoding=
\"UTF-8\"?>");

3) To Display Result:
SoapPrimitive resultString = (SoapPrimitive)soapEnvelope.getResponse
();
System.out.println(resultString);
txtView.setText("Result is : "+resultString);

Now, go through the above steps and also compare your application. I
hope you will find the solution. Let's hope.

Best Luck....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to