Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1610 by [email protected]: Problem with connecting to the
user Dashboard via SOAP
http://code.google.com/p/openmeetings/issues/detail?id=1610
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.
--
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.