i have problems using the setUserObject sometimes back -36 or just not
resolve

thanks

On 23 mar, 11:09, Miguel Carro Pellicer <[email protected]>
wrote:
> If you want to use MethodGateway you're not using SOAP methods, so your email 
> title is wrong.
> That methods are described 
> herehttp://code.google.com/p/openmeetings/wiki/MethodGateway, i did some 
> tests and all methods work fine....
> You have to use the SID obtained from getSession to Login, setUserObject and 
> enter a Room. What's your problem with this HTTP methods?
> Miguel.
> El 23/03/2010 17:57, Bicho4191 escribió:thanks miguel I may not explain well 
> what I want to do I'm trying to make the whole process trough url ie without 
> using code I'm trying to generate only one room and access it trough url thx 
> 4 the help On 23 mar, 09:44, Miguel Carro 
> Pellicer<[email protected]>wrote:HI! One example of 
> setUserObjectAndGenerateRoomHash in ColdFusion:<cfset 
> setUserObjectAndGenerateRoomHashParams = StructNew()> <cfset 
> setUserObjectAndGenerateRoomHashParams.SID="#str_SessionSID#"> <cfset 
> setUserObjectAndGenerateRoomHashParams.username="#str_UserName#"> <cfset 
> setUserObjectAndGenerateRoomHashParams.firstname="#str_Firstname#"> <cfset 
> setUserObjectAndGenerateRoomHashParams.lastname="#str_Lastname#"> <cfset 
> setUserObjectAndGenerateRoomHashParams.profilePictureUrl=""> <cfset 
> setUserObjectAndGenerateRoomHashParams.email="#str_Email#"> <cfset 
> setUserObjectAndGenerateRoomHashParams.externalUserId=#session.int_UserId#> 
> <cfset 
> setUserObjectAndGenerateRoomHashParams.externalUserType="#session.int_UserId#">
>  <cfset setUserObjectAndGenerateRoomHashParams.room_id =#int_RoomId#> <cfset 
> setUserObjectAndGenerateRoomHashParams.becomeModeratorAsInt=#int_IsModerator#>
>  <cfset setUserObjectAndGenerateRoomHashParams.showAudioVideoTestAsInt=1> 
> <cfinvoke     method="setUserObjectAndGenerateRoomHash"     
> returnVariable="str_RoomSessionHash"     webservice="#str_UserServiceURL#"    
>  argumentCollection="#setUserObjectAndGenerateRoomHashParams#"Another example 
> in java:public String setUserObjectAndGenerateRoomHash(String sid, String 
> username,String firstname,         String lastname, String profilePictureUrl, 
> String email, int externalUserId,         String externalUserType, int 
> roomId,         int becomeModeratorAsInt,int showAudioVideoTestAsInt) throws 
> AxisFault{                 ServiceClient serviceClient = 
> createGenericClient(this.openMeetingsURL+userServiceURL);         OMFactory 
> factory = OMAbstractFactory.getOMFactory();         OMNamespace namespace = 
> factory.createOMNamespace(NAMESPACE, "setUserObjectAndGenerateRoomHash");     
>     OMElement method = 
> factory.createOMElement("setUserObjectAndGenerateRoomHash", namespace);       
>   OMElement sid_E = factory.createOMElement("SID", namespace);         
> OMElement username_E = factory.createOMElement("username", namespace);        
>  OMElement firstname_E = factory.createOMElement("firstname", namespace);     
>     OMElement lastname_E = factory.createOMElement("lastname", namespace);    
>      OMElement profilePictureUrl_E = 
> factory.createOMElement("profilePictureUrl", namespace);         OMElement 
> email_E = factory.createOMElement("email", namespace);         OMElement 
> externalUserId_E = factory.createOMElement("externalUserId", namespace);      
>    OMElement externalUserType_E = factory.createOMElement("externalUserType", 
> namespace);         OMElement roomId_E = factory.createOMElement("roomId", 
> namespace);         OMElement becomeModeratorAsInt_E = 
> factory.createOMElement("becomeModeratorAsInt", namespace);         OMElement 
> showAudioVideoTestAsInt_E = 
> factory.createOMElement("showAudioVideoTestAsInt", namespace);                
>  sid_E.addChild(factory.createOMText(sid_E, sid));         
> username_E.addChild(factory.createOMText(username_E,username));         
> firstname_E.addChild(factory.createOMText(firstname_E,firstname));         
> lastname_E.addChild(factory.createOMText(lastname_E, lastname));         
> profilePictureUrl_E.addChild(factory.createOMText(profilePictureUrl_E, 
> profilePictureUrl));         email_E.addChild(factory.createOMText(email_E, 
> email));         
> externalUserId_E.addChild(factory.createOMText(externalUserId_E, 
> String.valueOf(externalUserId)));         
> externalUserType_E.addChild(factory.createOMText(externalUserType_E, 
> externalUserType));         roomId_E.addChild(factory.createOMText(roomId_E, 
> String.valueOf(roomId)));         
> becomeModeratorAsInt_E.addChild(factory.createOMText(becomeModeratorAsInt_E, 
> String.valueOf(becomeModeratorAsInt)));         
> showAudioVideoTestAsInt_E.addChild(factory.createOMText(showAudioVideoTestAsInt_E,
>  String.valueOf(showAudioVideoTestAsInt)));                 
> method.addChild(sid_E);         method.addChild(username_E);         
> method.addChild(firstname_E);         method.addChild(lastname_E);         
> method.addChild(profilePictureUrl_E);         method.addChild(email_E);       
>   method.addChild(externalUserId_E);         
> method.addChild(externalUserType_E);         method.addChild(roomId_E);       
>   method.addChild(becomeModeratorAsInt_E);         
> method.addChild(showAudioVideoTestAsInt_E);                         OMElement 
> result = serviceClient.sendReceive(method);         return 
> result.getFirstElement().getText(); } Both examples work perfect. What kind 
> of error appears? Hope this helps, Miguel. El 23/03/2010 16:27, Bicho4191 
> escribió:hi folks hi all I'm trying to use the soap gateway to create rooms 
> and create links to them but I've only managed to use the getSession method 
> and loginUser, I failed to successfully use the method setUserObject I like 
> to see some example that someone has implemented thanks to all greetings-- 
> ... leer más »  image002.jpg 3 KVerDescargar--
> false 21 false false false ES X-NONE X-NONE MicrosoftInternetExplorer4
>
> ...
>
> leer más »
>
>  image002.jpg
> 3 KVerDescargar

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to