jbwyatt4 / openmeetings

Automatically exported from code.google.com/p/openmeetings
1 stars 0 forks source link

To Add and View File When User loign through Soap method into room #1352

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
 I have Developed .net Application there website users access open meeting through open meeting soap method. Users successfully access all things in room but user want to upload files their is problem. after uploading files message shows file uploaded successfully and document converting. Users waiting for long time but no message or no file shows on files panel.

       So for testing purpose i have upload file through open meeting admin login in same room where other users have. In these case admin has file uploaded successfully and view this file in their file panel and also share this file through with board . but other users at same room can't view this file. Why?

I also add file services at our web application.
And "getListOfFiles" method just before to setUserObjectAndGenerateRoomHash. So 
this is correct or not.
And whats appropriate way to call this method.

Original issue reported on code.google.com by softjaip...@gmail.com on 21 Feb 2011 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago
Some time i got only  message "upload complete converting document". below task 
bar shows "Done". but no file show in file panel

Original comment by softjaip...@gmail.com on 22 Feb 2011 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
Are you setting an "externalUserId" in the setUserObjectAndGenerateRoomHash 
call? I didn't test the ability to upload documents, but I did note that the 
SOAP-added users could not see the documents added by a locally-logged-in 
administrator. They were able to see things drawn on the whiteboard, though, 
just not the documents themselves.

It doesn't seem to matter WHAT the externalUserId is and it seems to work fine 
with the same number assigned to each attendee, but it would appear that it is 
required for certain functionality to work.

I'm using PHP and I set each of the variables below before I make the call. It 
seems to work best if every variable is set and not zero-length. I hard-coded 
the last 5 variables to match my implementation, but they could easily be 
assigned on a case-by-case basis through some application logic.

setUserObjectAndGenerateRoomHashByURL($username, $firstname, $lastname, 
$picture, $email, $extUID, $extUserType, $room_id, $makemod, $showAVTest)

I hope this helps! It was certainly responsible for a stressful afternoon 
yesterday.

Original comment by stud...@gmail.com on 7 Apr 2011 at 12:33

GoogleCodeExporter commented 9 years ago
Hi,

   Thanks for your view. i have already done. i also follow same process to
pass external userId and they work fine. But some problem with file
type(like-ppt.).

Original comment by softjaip...@gmail.com on 7 Apr 2011 at 12:59

GoogleCodeExporter commented 9 years ago
hi jaiprakash

have you got the solution of this issue,

Because i am also facing this issue with my website.

i am also using SOAP API with ASP.net

here is my code
            WebReference.UserService oUserService = new WebReference.UserService();
            WebReference.RoomService oRoomService = new WebReference.RoomService();
            WebReference.getSessionResponse oResponse = default(WebReference.getSessionResponse);
            oResponse = oUserService.getSession();
            long returnVal_l = 0;
            long returnVal_u = 0;
            bool returnSpecified_l = false;
            bool returnSpecified_u = false;
            string SessionID = oResponse.@return.session_id;
            string strURL = Server.MapPath("");
            oUserService.loginUser(SessionID, "telecorp", "telecorp", out  returnVal_l, out  returnSpecified_l);
            oUserService.setUserObject(SessionID, strUserName, strUserFirstName, strUserLastName, strURL, strUserEmail, out  returnVal_u, out  returnSpecified_u);
            string strSecureCode = oUserService.setUserObjectAndGenerateRoomHash(SessionID, strUserName, strUserFirstName, strUserLastName, strURL, strUserEmail,0,true, "", intRoomID, true, 1, true, 1, true);

user loginto room, but he can't upload file or get file of other room member

pls help me out

Thanks

Nagesh Nalge

Original comment by nagesh.n...@gtempaccount.com on 23 Jun 2011 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Nagesh,

      Send external Id in this soap method, this id should be identical -
Like userId of your application. because in openmeeting profile folder one
folder created with your external id and store all your files.

Original comment by softjaip...@gmail.com on 23 Jun 2011 at 1:26

GoogleCodeExporter commented 9 years ago
hi jaiprakash

thanks a lot, it's working now.

such a gr8 help on this issue.

Bye 

Nagesh Nalge

Original comment by nagesh.n...@gtempaccount.com on 29 Jun 2011 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:23

GoogleCodeExporter commented 9 years ago
OpenMeetings moves to Apache Foundation, update your bookmarks to the new 
project page:

http://incubator.apache.org/openmeetings/

New Issue tracker is located: https://issues.apache.org/jira/browse/OPENMEETINGS

New Mailing Lists located at: 
http://incubator.apache.org/openmeetings/mail-lists.html 

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:25