1. Use NUSOAP

2. PHP Source:

// init SOAP
$usClient=new 
nusoap_client(http://www.myhost.com:5080/openmeetings/services/UserService?wsdl,
 
"wsdl");
$usClient->setUseCurl(true);
$usClient->soap_defencoding = "UTF-8";

// get Session ID
$result = $usClient->call('getSession');
$session_id = $result["return"]["session_id"];

// login as ADMIN user
$params = array('SID' => $session_id,'username' => 'admin','userpass' => 
'password');
$result = $usClient->call('loginUser',$params);


// create Link to enter Room
$linkParams=array(
'SID' => $session_id,
'username'=>'Max Mustermann',
'firstname'=>'Max',
'lastname'=>'Mustermann',
'profilePictureUrl'=>'',
'email'=>maxmusterm...@maxmustermann.com,
'externalUserId'=>'',
'externalUserType'=>'blabla',
'room_id'=>20,
'becomeModeratorAsInt'=>1,
'showAudioVideoTestAsInt'=>0
);
$result = 
$usClient->call('setUserObjectAndGenerateRoomHashByURL',$linkParams);
$rgwert='http://www.myhost.com:5080/openmeetings/?secureHash='.$result["return"];

// HTML
echo '<a href="'.$rgwert.'">klick now to enter room(active for short 
time)</a>';

3. Parameter for SOAP Calls:

open in your Browser
for User Service:
http://www.myhost.com:5080/openmeetings/services/UserService?wsdl

for Room Service
http://www.myhost.com:5080/openmeetings/services/RoomService?wsdl

for File Service
http://www.myhost.com:5080/openmeetings/services/FileService?wsdl

######################################

IS SIMPLE :)

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/openmeetings-user/-/1D1tgJLf8okJ.
To post to this group, send email to openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to