Receiving JSON from asmx web service in Android
Anyone know of a sample or example of Android calling an .asmx web service
and getting JSON back? Up until now I've been using ksoap2/XML just fine,
but the web service now supposedly has a JSON option but I can't seem to
make it give me JSON. Via several attempts (I'm focusing on
HttpURLConnection mainly), I've been able to get data back but it's not in
JSON (still looks like XML).
I also need to send 2 parameters along with the web service call. Do I add
them as a query string to the URL or do they have to be parameterized as
value pairs? How would I find that out?
No comments:
Post a Comment