SoapObject Result returns anyType{} as value when retuning a complexType object

后端 未结 4 2104
太阳男子
太阳男子 2021-02-06 10:58

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.         


        
4条回答
  •  Happy的楠姐
    2021-02-06 11:21

    anytype{} comes when you get a null value from the web service.Insert some data first and then try to fetch data from web service.

提交回复
热议问题