The how you are calling the WebService, Raw XMLHttpRequest?
Hi,
As far as I know, this is by default. XML is the format in which webservice transmit data.
You should parse the XML to get the information without format which you need.
Best Regards
1. Set your return type on your script method to beJSON
2. Set the content type for your post to the web service to beapplication/json; charset=utf-8
3. Be sure that you are posting your data as a JSON string not a form post{'param1':'value1','param2':'value2'}
In this case you will get a JSON string back which can be evaluated and quickly turned into a string
OR
create an ashx (handler) instead of an asmx (web service) since you are just looking for content
No comments:
Post a Comment