grouper-users - [grouper-users] AJAX, JSON, Callback
Subject: Grouper Users - Open Discussion List
List archive
- From: mohan shamachar <>
- To:
- Subject: [grouper-users] AJAX, JSON, Callback
- Date: Mon, 21 Jan 2013 16:23:13 -0500 (EST)
Hello,
I was playing with AJAX calls to grouper web services.
1. First I received an error for bad_uri... because of cross-domain issue.
I added a callback parameter to fix it: Here's the call:
var urlStr =
"my_grouper-ws.../json/v2_1_000/"+subjects/my_subject/groups?wsLiteObjectType=
WsRestGetGroupsLiteRequest";
jQuery.getJSON(urlStr+"&callback=?", function(data) {
var str = JSON.stringify(data);
console.log(str);
});
The WsGetGroupsLiteResult from the web services includes a warning:
"resultWarnings":"Cant find properties to assign HTTP params: callback, _,"
This is causing the JSON parser to crash... because of the "colon" character
inside the warning message text.
Any suggestions?
Thanks,
mohan
- [grouper-users] AJAX, JSON, Callback, mohan shamachar, 01/21/2013
- RE: [grouper-users] AJAX, JSON, Callback, Chris Hyzer, 01/22/2013
- Re: [grouper-users] Grouper-WS and PHP, mohan shamachar, 01/22/2013
- RE: [grouper-users] Grouper-WS and PHP, Chris Hyzer, 01/23/2013
- Re: RE: [grouper-users] Grouper-WS and PHP, mohan shamachar, 01/25/2013
- RE: [grouper-users] Grouper-WS and PHP, Chris Hyzer, 01/23/2013
Archive powered by MHonArc 2.6.16.