Howdy,
I'm attempting to add a group with the OpenMeetings SOAP API. I saw on
the documentation
(http://code.google.com/p/openmeetings/wiki/SoapMethods#addRoom) that
/addRoom/ is obsolete and that it's best to use /addRoomWithModeration/.
However upon attempting to use it, I was met with an empty request and
response from the API.
*Below is my code**:*
$params = array('SID'=>$sid, 'name'=>$_POST['project_name'], 'roomtypes_id'=>1,
'comment'=>NULL, 'numberOfPartizipants'=>5, 'ispublic'=>NULL, 'appointment'=>NULL,
'isDemoRoom'=>NULL, 'demoTime'=>NULL, 'isModeratedRoom'=>NULL);
var_dump($params);
$room=$SOAP->addRoomWithModeration($params);
print "<pre>\n";
print "<br />\n Request:
".htmlspecialchars($SOAP->__getLastRequest());
print "<br />\n Response:
".htmlspecialchars($SOAP->__getLastResponse());
print "</pre>";
die();
*And here is what I get out of it:*
array(10) {
["SID"]=>
string(32) "45f406ce94c5ad362d4a793e03faedd5"
["name"]=>
string(10) "Project Name"
["roomtypes_id"]=>
int(1)
["comment"]=>
NULL
["numberOfPartizipants"]=>
int(5)
["ispublic"]=>
NULL
["appointment"]=>
NULL
["isDemoRoom"]=>
NULL
["demoTime"]=>
NULL
["isModeratedRoom"]=>
NULL
}
Request:
Response:
As you can see, I'm properly logging in and getting a session ID, I just
can't even get so much as an error message out of /addRoomWithModeration/.
Any ideas would be (as always) greatly appreciated.
Best,
Sam