[ 
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 protected]", 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

        

Reply via email to