You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Vlad Alexa (Created) (JIRA)" <ji...@apache.org> on 2012/01/30 16:26:10 UTC
[jira] [Created] (OPENMEETINGS-37) Problem with connecting to the
user Dashboard via SOAP
Problem with connecting to the user Dashboard via SOAP
-------------------------------------------------------
Key: OPENMEETINGS-37
URL: https://issues.apache.org/jira/browse/OPENMEETINGS-37
Project: Openmeetings
Issue Type: Bug
Components: Converters, SOAP/REST API
Reporter: Vlad Alexa
Hello.
I am currently having a problem when trying to remote login to the user dashboard via the UserService.
I am using OM 1.9.1 r4707.
The code of my .NET client:
OpenMeetingsUserService.UserService userService = new OpenMeetingsUserService.UserService();
OpenMeetingsUserService.Sessiondata sessionData = userService.getSession();
long returnValue;
bool some;
userService.loginUser(sessionData.session_id, "username", "password", out returnValue, out some);
String returnString = userService.setUserObjectMainLandingZone(sessionData.session_id, "username", "firstname", "lastname", "icon_people.jpg", "email@mail.com", 0, false, "");
Response.Redirect("http://localhost:5080/openmeetings/?secureHash="+returnString);
The error on the server is:
ERROR 01-30 16:07:18.468 MainService.java 806109 680 org.openmeetings.app.remote.MainService [NioProcessor-5] - [loginUserByRemote]
com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
---- Debugging information ----
message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
class : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
required-type : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
-------------------------------
As far as I can tell, the hash generated by setUserObjectMainLandingZone is correct.
Is the login url, that I use for the redirect, wrong? (Is there an other parameter to use instead of secureHash ?)
Thank you in advance,
Vlad.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENMEETINGS-37) Problem with connecting to the
user Dashboard via SOAP
Posted by "Maxim Solodovnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENMEETINGS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Solodovnik closed OPENMEETINGS-37.
----------------------------------------
Assignee: Maxim Solodovnik
Closing all old 'Resolved' issues
> Problem with connecting to the user Dashboard via SOAP
> -------------------------------------------------------
>
> Key: OPENMEETINGS-37
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-37
> Project: Openmeetings
> Issue Type: Bug
> Components: Converters, SOAP/REST API
> Reporter: Vlad Alexa
> Assignee: Maxim Solodovnik
>
> Hello.
> I am currently having a problem when trying to remote login to the user dashboard via the UserService.
> I am using OM 1.9.1 r4707.
> The code of my .NET client:
> OpenMeetingsUserService.UserService userService = new OpenMeetingsUserService.UserService();
> OpenMeetingsUserService.Sessiondata sessionData = userService.getSession();
> long returnValue;
> bool some;
> userService.loginUser(sessionData.session_id, "username", "password", out returnValue, out some);
> String returnString = userService.setUserObjectMainLandingZone(sessionData.session_id, "username", "firstname", "lastname", "icon_people.jpg", "email@mail.com", 0, false, "");
> Response.Redirect("http://localhost:5080/openmeetings/?secureHash="+returnString);
> The error on the server is:
> ERROR 01-30 16:07:18.468 MainService.java 806109 680 org.openmeetings.app.remote.MainService [NioProcessor-5] - [loginUserByRemote]
> com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> ---- Debugging information ----
> message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> class : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> required-type : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> -------------------------------
> As far as I can tell, the hash generated by setUserObjectMainLandingZone is correct.
> Is the login url, that I use for the redirect, wrong? (Is there an other parameter to use instead of secureHash ?)
> Thank you in advance,
> Vlad.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OPENMEETINGS-37) Problem with connecting to the
user Dashboard via SOAP
Posted by "SebastianWagner (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENMEETINGS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SebastianWagner resolved OPENMEETINGS-37.
-----------------------------------------
Resolution: Fixed
Could you please use the mailing list first to discuss the issue, I think this is more a question then a Bug Report. I think you can also find an answer already to it using the Search of the archive but you can also jsut re-post that question to the mailing list.
Thanks,
Sebastian
> Problem with connecting to the user Dashboard via SOAP
> -------------------------------------------------------
>
> Key: OPENMEETINGS-37
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-37
> Project: Openmeetings
> Issue Type: Bug
> Components: Converters, SOAP/REST API
> Reporter: Vlad Alexa
>
> Hello.
> I am currently having a problem when trying to remote login to the user dashboard via the UserService.
> I am using OM 1.9.1 r4707.
> The code of my .NET client:
> OpenMeetingsUserService.UserService userService = new OpenMeetingsUserService.UserService();
> OpenMeetingsUserService.Sessiondata sessionData = userService.getSession();
> long returnValue;
> bool some;
> userService.loginUser(sessionData.session_id, "username", "password", out returnValue, out some);
> String returnString = userService.setUserObjectMainLandingZone(sessionData.session_id, "username", "firstname", "lastname", "icon_people.jpg", "email@mail.com", 0, false, "");
> Response.Redirect("http://localhost:5080/openmeetings/?secureHash="+returnString);
> The error on the server is:
> ERROR 01-30 16:07:18.468 MainService.java 806109 680 org.openmeetings.app.remote.MainService [NioProcessor-5] - [loginUserByRemote]
> com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> ---- Debugging information ----
> message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message : Cannot construct org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does not have a no-args constructor
> class : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> required-type : org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> -------------------------------
> As far as I can tell, the hash generated by setUserObjectMainLandingZone is correct.
> Is the login url, that I use for the redirect, wrong? (Is there an other parameter to use instead of secureHash ?)
> Thank you in advance,
> Vlad.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira