Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-18 Thread Richard Krieger
errors on my source

Error:
...
$usClient=new 
nusoap_client(http://www.myhost.com:5080/openmeetings/services/UserService?wsdl,
 "wsdl");
...
'email'=>maxmusterm...@maxmustermann.com,
...

OK:
...
$usClient=new 
nusoap_client('http://www.myhost.com:5080/openmeetings/services/UserService?wsdl',
 "wsdl");
...
'email'=>'maxmusterm...@maxmustermann.com',
...



replace with your data:
www.myhost.com with your host

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



Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-17 Thread Jun Aguz
HALLO richard
i use nosoap, but i got this error
soapenv:Reason>
-

The service cannot be found for the endpoint reference (EPR)
/openmeetings/services/UserServices/



can you explain about this error???

thank's

regrads
jun,...
2011/10/17 Richard Krieger 

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

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
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.



Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-17 Thread Richard Krieger
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.
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.



Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-16 Thread seba.wag...@gmail.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 :
> 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 'klick now to enter room(active for short
> time)';
> 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.
>



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

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
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.



Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-16 Thread Richard Krieger
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 'klick now to enter room(active for short 
time)';

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.



Re: [openmeetings-user] Re: Profile image and SOAP

2011-10-16 Thread Jun Aguz
hallo richard,,
can you tell me,,how to use soapmethod

thank's

regrads,,
jun


2011/10/16 Richard Krieger 

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

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
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.



[openmeetings-user] Re: Profile image and SOAP

2011-10-16 Thread Richard Krieger
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 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.