Hi Sam, I'd try to pass values for those parms instead of NULL. Just assuming that there might be issues if the API wants a boolean but gets NULL. Did you check the logs for any errors?
Daniela On 2013-10-21, at 9:56 PM, Sam Hagen wrote: > 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