SoapObject Result returns anyType{} as value when retuning a complexType object
I am calling a web service in my android app & the method is getGramaNiladhariData(), I am getting the result as a SoapObject. result = (SoapObject) envelope.bodyIn; Log.d("WS", String.valueOf(result)); And this is what I got for String.valueOf(result) getGramaNiladhariDataResponse{getGramaNiladhariDataResult=anyType{gnName=anyType{}; address=anyType{}; workingDays=anyType{}; gnDivision=anyType{}; contactNumber=anyType{}; }; } Here the method i am calling returns a complexType object,consist of 5 attributes. As i found in the internet i can't get a soap Object as the result of a webservice