I am calling web service from android but in in response it shows code instead of symbols.
e.g for > it shows > and for < it shows <. Why is this so?
I am calling web service from android but in in response it shows code
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There could be problem with Web service response which could be in String. because web service use SOAP protocol which wraps the response into a SOAP envelope and XML encoded.
As I had that problem while writing a Web-service and I returned array of objects instead of string which solved my problem.
and
First the return type of
ReturnProducts()wasstringwhich was producing the problem you are facing after that I changed the code and return type toProduct[]which solved my problem.Hope it will help you.