The order or REST calls should be: UserService->getSession UserService->loginUser(SID,user,pwd) ... any other call ...
On Thu, Apr 25, 2013 at 6:44 PM, Varga Balázs <[email protected]> wrote: > Hello! > > I have OM 2.1.0 ApacheRelease > > I try REST API and JabberService always return on error. > > In the log, not logged ERROR or WARNING message. > > Testing JabberService in browser (UserService->getSession and apply > JabberService>-get... response always error) why? KARRAMBAAAA! > > pl testing in browser > > http://xxx:5080/openmeetings/**services/JabberService/**getUserCount?SID=* > *e84d843ed28543c03d7f25ec44dc0e**f9&roomId=116<http://xxx:5080/openmeetings/services/JabberService/getUserCount?SID=e84d843ed28543c03d7f25ec44dc0ef9&roomId=116> > response: > <ns:getUserCountResponse><ns:**return>-1</ns:return></ns:** > getUserCountResponse> > > Current time is logged in one moderator and one user, sum 2... > > http://xxx:5080/openmeetings/**services/JabberService/** > getAvailableRooms?SID=**edcaa54d60bfc01c951568db9cb819**e3<http://xxx:5080/openmeetings/services/JabberService/getAvailableRooms?SID=edcaa54d60bfc01c951568db9cb819e3> > response: > <soapenv:Reason><soapenv:Text xml:lang="en-US">Exception occurred while > trying to invoke service method getAvailableRooms</soapenv:** > Text></soapenv:Reason> > > > > Have an idea? > -- WBR Maxim aka solomax
