Discussion:
[visualization-api] Using asmx web service as chart tools data source
James Campbell
2016-08-26 10:26:01 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/6ab367c8-67ab-431d-8446-3c59e2a1b17c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
James Campbell
2016-08-26 11:05:11 UTC
Permalink
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.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/5770f45c-281d-444f-86fd-7bd09450f646%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...