Using asmx web service as chart tools data source

11 views
Skip to first unread message

James Campbell

unread,
Aug 26, 2016, 6:26:01 AM8/26/16
to Google Visualization API
Hi,

I am trying to use a asmx web service as my charts data source. My web service can successfully receive GET requests however it always returns a response in XML. I have read several articles online claiming that the only way for a asmx web service to return a response in JSON is that the request must be POST, but this won't work as I understand in order to implement the chart tools datasource protocol it needs to accept GET.

I am just wondering if anyone else has successfully implemented a asmx web service as their chart tools data source or if it is even possible. If someone could confirm then I can post my code and maybe see where I am going wrong.

Thanks

James Campbell

unread,
Aug 26, 2016, 7:05:11 AM8/26/16
to Google Visualization API
I have solved the problem and it turns out that a asmx web service can be used as a data source and can in fact return JSON as the result of a GET request. 

If anyone else stumbles across this with the same problem, feel free to post a comment and I will try and help.
Reply all
Reply to author
Forward
0 new messages