[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933099#comment-13933099
 ] 

Mohamedh Nishad Ahamed Meeran commented on OPENMEETINGS-933:
------------------------------------------------------------

Hi,

I'm facing a problem; I would like to describe my scenario. I have installed 
Apache Open Meetings -2.0.0 and database has been created in my local system. I 
have my own application, in this; I have an option to start a conference. I'm 
using REST Web service to create user, room, and starting conference and etc. 
Let me describe my issues.

Issue-1: I could not able to create "Web-Service" user level in the "user" 
table.

Issue-2 : I have a link in my application called "Join conference". If the user 
clicks the link the REST Web service actions performed are as follows,
1. Get Session: 
http://localhost:5080/openmeetings/services/UserService/getSession
for this request, the session ID is successfully created.

2. Login: 
http://localhost:5080/openmeetings/services/UserService/loginUser?SID="sessionId"&username=adminuser"&userpass=adminuser;
For this login request, I can able to log in successfully.

3. Add Room : 
http://localhost:5080/openmeetings/services/RoomService/addRoom?SID=+ session ID
+ 
&name=demoRoom&roomtypes_id=3&comment=&numberOfPartizipants=100&ispublic=false 
&videoPodWidth=&videoPodHeight=&videoPodXPosition=&videoPodYPosition=&moderationPanelXPosition=&showWhiteBoard=&whiteBoardPanelXPosition=&whiteBoardPanelYPosition=&whiteBoardPanelHeight=&whiteBoardPanelWidth=&showFilesPanel=&filesPanelXPosition=&filesPanelYPosition=&filesPanelHeight=&filesPanelWidth=;

For this Adding room Request I can successfully  create a room.
4.SetUserObject and Generate Room Hash : 
http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=sessionId&username=adminuser&firstname=&lastname=&profilePictureUrl=&email=&externalUserId=&externalUserType=&room_id="roomId"&becomeModeratorAsInt=1&showAudioVideoTestAsInt=0
For this request I have passed the room Id which was previously created the 
room and I successfully got the room hash.

5. Generating Room Hash String: 
http://localhost:5080/openmeetings/?secureHash=+generateRoomHashStr;
For this request I passed the generated room hash which was previously created.

And I Passed External User ID and User Name  .And When The User Try to Enter 
into The Room. It Generating Room Hash as -26 and unable to enter into the room

And I Need to Create a Web Service User.


Please do let me know ,am I missing anywhere or any wrong request I have 
executed.

 

Thank You For Spending Your Valuable Time

> Secure Hash is Generating as -26
> --------------------------------
>
>                 Key: OPENMEETINGS-933
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-933
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 2.0.0 Apache Incubator Release
>         Environment: Windows 7,2 GB RAM 
>            Reporter: Mohamedh Nishad Ahamed Meeran
>              Labels: performance
>
> Hi  Good Evening..
> Am Working on apache open meeting incubator release 2.0,And Am creating an 
> Application to Integrate open meeting.
> I did Following Steps
> 1.Create a session Using
> getSession()-http://xxx.xxx.3.162:5080/openmeetings/services/UserService/getSession,
> And i got a session Id
> 2.And I passed this Session Id into
> addNewUserWithExternalType()- 
> http:///xxx.xxx.3.162:5080/openmeetings/services/UserService/addNewUserWithExternalType?SID=sessionid&username=xyz&userpass=xyz&lastname=xyz&firstname=xyz&[email protected]&additionalname=xyz&street=xyz&zip=123&fax=123&states_id=95&town=xyz&language_id=1&jNameTimeZone=ist&externalUserId=12&externalUserType=demo,
> With Required Parameter as Above
> 3.Now I logged into the open meeting through my application Using
> loginUse()-http://xxx.xxx.3.162:5080/openmeetings/services/UserService/loginUser?SID=sessionid&username=xyz&userpass=xyz
> 4.And Then I created a Room using
> addRoom()-http://xxx.xxx.3.162:5080/openmeetings/services/RoomService/addRoom?SID=sessionid&name=demoroom&roomtypes_id=3&comment=demo&numberOfPartizipants=5&ispublic=false&videoPodWidth=&videoPodHeight=&videoPodXPosition=&videoPodYPosition=&moderationPanelXPosition=&showWhiteBoard=&whiteBoardPanelXPosition=&whiteBoardPanelYPosition=&whiteBoardPanelHeight=&whiteBoardPanelWidth=&showFilesPanel=&filesPanelXPosition=&filesPanelYPosition=&filesPanelHeight=&filesPanelWidth=,
> By passing the Required Parameters and am Successfully Created an Room .
> 5.And Now my issue is when i enter into the room using
> setUserObjectAndGenerateRoomHash()-http://xxx.xxx.3.162:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=sessionid&username=xyz&firstname=&lastname=&profilePictureUrl=&email=&externalUserId=12&externalUserType=demo&room_id=5&becomeModeratorAsInt=&showAudioVideoTestAsInt=
> And i Get an Room Hash 
> 6.Now I Passed The Room hash Into
> http:xxx.xxx.3.162:5080/openmeetings/?secureHash=Room Hash;
> It creates the Secure Hash as -26.And The User is Not Entering into the room
> And also Another one issue When am creating an User through my application  
> it Creates User Not web service user.
> I Google it for the Solution But am Not Getting any Solution .Please Give me 
> a Solution for The Above Questions.It will help Me to Forward the Application
> Thanks in Advance 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to