Comment by [email protected]:

Hello, I have some troubles with setUserObjectAndGenerateRoomHash
function.
I'm trying to write ASP.NET client (C#) and use UserService,
FileService and RoomService web-services. According to
http://code.google.com/p/openmeetings/wiki/DirectLoginSoapGeneralFlow
it is necessary to get unique room hash for current session_id and
user and after that append it to the URL. There is my source:

***************
OpenMeetings.UserService userService = new OpenMeetings.UserService();
OpenMeetings.getSessionResponse resp = userService.getSession();

long longReturn; bool boolReturnSpec;
userService.loginUser([email protected]_id, "Admin", "test123", out
longReturn, out boolReturnSpec);

OpenMeetings.ErrorResult err = new
OpenMeetingsNET.OpenMeetings.ErrorResult();
if (longReturn < 0)
       userService.getErrorByCode([email protected]_id, longReturn,
true, 4, true);

//OpenMeetingsRoomService.RoomService roomSrv = new
OpenMeetingsNET.OpenMeetingsRoomService.RoomService();
//OpenMeetingsRoomService.Rooms[] rooms =
roomSrv.getRoomsPublic([email protected]_id, 2, true); // PUBLIC
AUDIENCE ROOM IS IN rooms[] ARRAY

string roomHash =
userService.setUserObjectAndGenerateRoomHash([email protected]_id,
"Admin", "Admin", "Admin", "", "[email protected]", 1, false,
"MySystem", 2, true, 1, true, 0, false);
**************

When setUserObjectAndGenerateRoomHash invokes an exception throws:
"SoapException was unhandled by user code. For input string:
"MySystem""
Whats wrong? Thanks for advice.

For more information:
http://code.google.com/p/openmeetings/wiki/SoapMethods

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" 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-dev?hl=en.

Reply via email to