Profile image and SOAP

53 views
Skip to first unread message

richardkrieger

unread,
Oct 16, 2011, 4:38:45 AM10/16/11
to openmeet...@googlegroups.com
is there any SOAP call where I can set the path to the user picture?
I tried with "setUserObjectAndGenerateRoomHashByURL" and "setUserObject" - does not work. But the group in open meetings on facebook it goes. I've seen my Facebook photo image as the profile. How does it work?

Richard Krieger

unread,
Oct 16, 2011, 4:57:50 AM10/16/11
to openmeet...@googlegroups.com
moment ... I only see my photo in the chat on the main page but not in the room. Is it even possible to enter a room with user image via SOAP?

Jun Aguz

unread,
Oct 16, 2011, 7:02:21 AM10/16/11
to openmeet...@googlegroups.com
hallo richard,,
can you tell me,,how to use soapmethod????

thank's

regrads,,
jun


2011/10/16 Richard Krieger <richard...@gmx.net>
moment ... I only see my photo in the chat on the main page but not in the room. Is it even possible to enter a room with user image via SOAP?

--
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/-/bbr5JrvM6nwJ.

To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.

Richard Krieger

unread,
Oct 16, 2011, 9:36:50 AM10/16/11
to openmeet...@googlegroups.com
1. Use NUSOAP

2. PHP Source:

// init SOAP
$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'=>'',
'externalUserId'=>'',
'externalUserType'=>'blabla',
'room_id'=>20,
'becomeModeratorAsInt'=>1,
'showAudioVideoTestAsInt'=>0
);
$result = $usClient->call('setUserObjectAndGenerateRoomHashByURL',$linkParams);

// 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:

for Room Service

for File Service

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

IS SIMPLE :)

seba....@gmail.com

unread,
Oct 16, 2011, 10:20:08 AM10/16/11
to openmeet...@googlegroups.com
You can set an absolute URL for the profile picture URL by:

Adding the params:
absolutePicUrl=1
and
picture=YOUR_HTTP_ADDRESS

as URL-Params to the URL where you append also the Hash to.

Sebastian

2011/10/16 Richard Krieger <richard...@gmx.net>:

> --
> 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 openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>

--
Sebastian Wagner
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba....@gmail.com

Richard Krieger

unread,
Oct 17, 2011, 3:04:51 AM10/17/11
to openmeet...@googlegroups.com
it works, thank you

Jun Aguz

unread,
Oct 18, 2011, 12:03:39 AM10/18/11
to openmeet...@googlegroups.com
HALLO richard
i use nosoap, but i got this error
soapenv:Reason>

<soapenv:Text xml:lang="en-US">
The service cannot be found for the endpoint reference (EPR) /openmeetings/services/UserServices/
</soapenv:Text>
</soapenv:Reason>

can you explain about this error???

thank's

regrads
jun,...
2011/10/17 Richard Krieger <richard...@gmx.net>
it works, thank you

--
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/-/3LU6jnj3_y8J.

Richard Krieger

unread,
Oct 18, 2011, 3:42:33 AM10/18/11
to openmeet...@googlegroups.com
errors on my source

Error:
...
...
...

OK:
...
...
...

------------------------------------------------------------

replace with your data:
www.myhost.com with your host
Reply all
Reply to author
Forward
0 new messages