Re: WebService problem ...

2017-04-18 Thread Maxim Solodovnik
I would say it will be released next month
Can you use SNAPSHOT for now?

On Wed, Apr 19, 2017 at 1:40 AM, Ramón Zárate Moedano 
wrote:

> Thanks a lot.
>
> When is gonna be released 3.2.2
>
> 2017-04-18 12:45 GMT-05:00 Maxim Solodovnik :
>
>> OK, file it myself: https://issues.apache.org/jira/browse/OPENMEETINGS-1
>> 630
>>
>> On Tue, Apr 18, 2017 at 11:50 PM, Maxim Solodovnik 
>> wrote:
>>
>>> Seems to be reproducible
>>> working on it
>>> Could you please file JIRA at https://issues.apache.org/j
>>> ira/browse/OPENMEETINGS ?
>>>
>>> Thanks in advance!
>>>
>>> On Tue, Apr 18, 2017 at 12:46 PM, Maxim Solodovnik >> > wrote:
>>>
 Hello Ramon,

 I'll try to reproduce this using 3.2.1 and will write back

 On Mon, Apr 17, 2017 at 9:03 PM, Ramón Zárate Moedano  wrote:

> Hello Community:
>
> Technical details
> OM 3.2.0 (Revisión 1782178)
> Moodle 3.2
> OM-moodle-plugin 2.0.2.3 2017031011
>
> I am developing a moodle integration using openmeetings(3.2.0). I am
> using OM plugin (downloaded from moodle.org/plugins) In addition to
> the features offered by the plugin, I need to add the functionality of
> knowing how many concurrent users are in each om room.
>
> To accomplish this task, I'm using webservice RoomWebService
> (http://openmeetings.apache.org/openmeetings-webservice/apid
> ocs/index.html).
>
> Using "room" service and the "counters" method.
>
> /* START: DOCUMENTATION */
>
> counters
>
> @GET
>  @Path(value="/counters")
> public List counters(@QueryParam(value="sid")
>
>  String sid,
>
>  @QueryParam(value="id")
>
>  List ids)
> throws
> org.apache.openmeetings.webservice.error.ServiceException
>
> Returns current users for rooms ids
>
> Parameters:
> sid - - The SID of the User. This SID must be marked as
> Loggedin
> ids - - id of the room you need counters for
> Returns:
> - current users for rooms ids
> Throws:
> org.apache.openmeetings.webservice.error.ServiceException
>
>
> /* END: DOCUMENTATION */
>
> Using this documentation i constructed an url that is as follows:
> http://OM-Server-IP:5080/meetingcenter/services/room/counter
> s/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5
> 
>
> Where
>  Meetingcenter is the om installation folder (custom context)
> Room / counters is the service with the called method
>  sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
>   id=5 the id of the room that you want to consult.
>
> Using this url and method i get error responses.
>
>
> The documentation references the type List ,
> So it could be an array???.
>
> These are the responses i am getting according to the values that i
> tried.
>
>  id=5: "No message body writer has been found for class
> java.util.ArrayList, ContentType: application/json"
>
>  id=[5]: (NULL). Using browser console 404
>
>  id={5}: (NULL). Using browser console 400
>
>  id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM
> Room r WHERE r.deleted = false AND r.id IN :ids". Check the query
> syntax for correctness. See nested exception for details."
>
>  id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM
> Room r WHERE r.deleted = false AND r.id IN :ids". Check the query
> syntax for correctness. See nested exception for details."
>
>
> Apparently There is something wrong with sending the room id's.
>
> To corroborate that correct information is being sent as hash,
> information is requested from another web service with positive results.
> For example:
>
>   http://OM-Server-IP:5080/meetingcenter/services/user?sid=f
> 02e731d-2fa4-496c-a78f-86f9d6c6b382
> 
>
> And the answer is an array with a full list of all the users that
> exist in this instance:
>
>   {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
> r...@domain.com","id":1},"firstname":"firstname","id":1,
> "languageId":8,"lastname":"lastname","login":"root","rights"
> :["Admin","Soap","Room","Login","Dashboard"],"timeZoneId":"A
> merica/Mexico_City","type":"user"}]}
>
>
>
> Any clue
>
> Thanks in advance
> Ramón
>



 --
 WBR
 Maxim aka solomax

>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --

Re: WebService problem ...

2017-04-18 Thread Ramón Zárate Moedano
Thanks a lot.

When is gonna be released 3.2.2

2017-04-18 12:45 GMT-05:00 Maxim Solodovnik :

> OK, file it myself: https://issues.apache.org/jira/browse/OPENMEETINGS-
> 1630
>
> On Tue, Apr 18, 2017 at 11:50 PM, Maxim Solodovnik 
> wrote:
>
>> Seems to be reproducible
>> working on it
>> Could you please file JIRA at https://issues.apache.org/j
>> ira/browse/OPENMEETINGS ?
>>
>> Thanks in advance!
>>
>> On Tue, Apr 18, 2017 at 12:46 PM, Maxim Solodovnik 
>> wrote:
>>
>>> Hello Ramon,
>>>
>>> I'll try to reproduce this using 3.2.1 and will write back
>>>
>>> On Mon, Apr 17, 2017 at 9:03 PM, Ramón Zárate Moedano 
>>> wrote:
>>>
 Hello Community:

 Technical details
 OM 3.2.0 (Revisión 1782178)
 Moodle 3.2
 OM-moodle-plugin 2.0.2.3 2017031011

 I am developing a moodle integration using openmeetings(3.2.0). I am
 using OM plugin (downloaded from moodle.org/plugins) In addition to
 the features offered by the plugin, I need to add the functionality of
 knowing how many concurrent users are in each om room.

 To accomplish this task, I'm using webservice RoomWebService
 (http://openmeetings.apache.org/openmeetings-webservice/apid
 ocs/index.html).

 Using "room" service and the "counters" method.

 /* START: DOCUMENTATION */

 counters

 @GET
  @Path(value="/counters")
 public List counters(@QueryParam(value="sid")

  String sid,

  @QueryParam(value="id")

  List ids)
 throws
 org.apache.openmeetings.webservice.error.ServiceException

 Returns current users for rooms ids

 Parameters:
 sid - - The SID of the User. This SID must be marked as Loggedin
 ids - - id of the room you need counters for
 Returns:
 - current users for rooms ids
 Throws:
 org.apache.openmeetings.webservice.error.ServiceException


 /* END: DOCUMENTATION */

 Using this documentation i constructed an url that is as follows:
 http://OM-Server-IP:5080/meetingcenter/services/room/counter
 s/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5
 

 Where
  Meetingcenter is the om installation folder (custom context)
 Room / counters is the service with the called method
  sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
   id=5 the id of the room that you want to consult.

 Using this url and method i get error responses.


 The documentation references the type List ,
 So it could be an array???.

 These are the responses i am getting according to the values that i
 tried.

  id=5: "No message body writer has been found for class
 java.util.ArrayList, ContentType: application/json"

  id=[5]: (NULL). Using browser console 404

  id={5}: (NULL). Using browser console 400

  id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room
 r WHERE r.deleted = false AND r.id IN :ids". Check the query syntax
 for correctness. See nested exception for details."

  id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM
 Room r WHERE r.deleted = false AND r.id IN :ids". Check the query
 syntax for correctness. See nested exception for details."


 Apparently There is something wrong with sending the room id's.

 To corroborate that correct information is being sent as hash,
 information is requested from another web service with positive results.
 For example:

   http://OM-Server-IP:5080/meetingcenter/services/user?sid=f
 02e731d-2fa4-496c-a78f-86f9d6c6b382
 

 And the answer is an array with a full list of all the users that exist
 in this instance:

   {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
 r...@domain.com","id":1},"firstname":"firstname","id":1,
 "languageId":8,"lastname":"lastname","login":"root","rights"
 :["Admin","Soap","Room","Login","Dashboard"],"timeZoneId":"A
 merica/Mexico_City","type":"user"}]}



 Any clue

 Thanks in advance
 Ramón

>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: WebService problem ...

2017-04-18 Thread Maxim Solodovnik
OK, file it myself: https://issues.apache.org/jira/browse/OPENMEETINGS-1630

On Tue, Apr 18, 2017 at 11:50 PM, Maxim Solodovnik 
wrote:

> Seems to be reproducible
> working on it
> Could you please file JIRA at https://issues.apache.org/
> jira/browse/OPENMEETINGS ?
>
> Thanks in advance!
>
> On Tue, Apr 18, 2017 at 12:46 PM, Maxim Solodovnik 
> wrote:
>
>> Hello Ramon,
>>
>> I'll try to reproduce this using 3.2.1 and will write back
>>
>> On Mon, Apr 17, 2017 at 9:03 PM, Ramón Zárate Moedano 
>> wrote:
>>
>>> Hello Community:
>>>
>>> Technical details
>>> OM 3.2.0 (Revisión 1782178)
>>> Moodle 3.2
>>> OM-moodle-plugin 2.0.2.3 2017031011
>>>
>>> I am developing a moodle integration using openmeetings(3.2.0). I am
>>> using OM plugin (downloaded from moodle.org/plugins) In addition to the
>>> features offered by the plugin, I need to add the functionality of knowing
>>> how many concurrent users are in each om room.
>>>
>>> To accomplish this task, I'm using webservice RoomWebService
>>> (http://openmeetings.apache.org/openmeetings-webservice/apid
>>> ocs/index.html).
>>>
>>> Using "room" service and the "counters" method.
>>>
>>> /* START: DOCUMENTATION */
>>>
>>> counters
>>>
>>> @GET
>>>  @Path(value="/counters")
>>> public List counters(@QueryParam(value="sid")
>>>
>>>  String sid,
>>>
>>>  @QueryParam(value="id")
>>>
>>>  List ids)
>>> throws
>>> org.apache.openmeetings.webservice.error.ServiceException
>>>
>>> Returns current users for rooms ids
>>>
>>> Parameters:
>>> sid - - The SID of the User. This SID must be marked as Loggedin
>>> ids - - id of the room you need counters for
>>> Returns:
>>> - current users for rooms ids
>>> Throws:
>>> org.apache.openmeetings.webservice.error.ServiceException
>>>
>>>
>>> /* END: DOCUMENTATION */
>>>
>>> Using this documentation i constructed an url that is as follows:
>>> http://OM-Server-IP:5080/meetingcenter/services/room/counter
>>> s/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5
>>> 
>>>
>>> Where
>>>  Meetingcenter is the om installation folder (custom context)
>>> Room / counters is the service with the called method
>>>  sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
>>>   id=5 the id of the room that you want to consult.
>>>
>>> Using this url and method i get error responses.
>>>
>>>
>>> The documentation references the type List ,
>>> So it could be an array???.
>>>
>>> These are the responses i am getting according to the values that i
>>> tried.
>>>
>>>  id=5: "No message body writer has been found for class
>>> java.util.ArrayList, ContentType: application/json"
>>>
>>>  id=[5]: (NULL). Using browser console 404
>>>
>>>  id={5}: (NULL). Using browser console 400
>>>
>>>  id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room
>>> r WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
>>> correctness. See nested exception for details."
>>>
>>>  id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room
>>> r WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
>>> correctness. See nested exception for details."
>>>
>>>
>>> Apparently There is something wrong with sending the room id's.
>>>
>>> To corroborate that correct information is being sent as hash,
>>> information is requested from another web service with positive results.
>>> For example:
>>>
>>>   http://OM-Server-IP:5080/meetingcenter/services/user?sid=f
>>> 02e731d-2fa4-496c-a78f-86f9d6c6b382
>>> 
>>>
>>> And the answer is an array with a full list of all the users that exist
>>> in this instance:
>>>
>>>   {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
>>> r...@domain.com","id":1},"firstname":"firstname","id":1,
>>> "languageId":8,"lastname":"lastname","login":"root","rights"
>>> :["Admin","Soap","Room","Login","Dashboard"],"timeZoneId":"
>>> America/Mexico_City","type":"user"}]}
>>>
>>>
>>>
>>> Any clue
>>>
>>> Thanks in advance
>>> Ramón
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax


Re: WebService problem ...

2017-04-18 Thread Maxim Solodovnik
Seems to be reproducible
working on it
Could you please file JIRA at
https://issues.apache.org/jira/browse/OPENMEETINGS ?

Thanks in advance!

On Tue, Apr 18, 2017 at 12:46 PM, Maxim Solodovnik 
wrote:

> Hello Ramon,
>
> I'll try to reproduce this using 3.2.1 and will write back
>
> On Mon, Apr 17, 2017 at 9:03 PM, Ramón Zárate Moedano 
> wrote:
>
>> Hello Community:
>>
>> Technical details
>> OM 3.2.0 (Revisión 1782178)
>> Moodle 3.2
>> OM-moodle-plugin 2.0.2.3 2017031011
>>
>> I am developing a moodle integration using openmeetings(3.2.0). I am
>> using OM plugin (downloaded from moodle.org/plugins) In addition to the
>> features offered by the plugin, I need to add the functionality of knowing
>> how many concurrent users are in each om room.
>>
>> To accomplish this task, I'm using webservice RoomWebService
>> (http://openmeetings.apache.org/openmeetings-webservice/apid
>> ocs/index.html).
>>
>> Using "room" service and the "counters" method.
>>
>> /* START: DOCUMENTATION */
>>
>> counters
>>
>> @GET
>>  @Path(value="/counters")
>> public List counters(@QueryParam(value="sid")
>>
>>  String sid,
>>
>>  @QueryParam(value="id")
>>
>>  List ids)
>> throws
>> org.apache.openmeetings.webservice.error.ServiceException
>>
>> Returns current users for rooms ids
>>
>> Parameters:
>> sid - - The SID of the User. This SID must be marked as Loggedin
>> ids - - id of the room you need counters for
>> Returns:
>> - current users for rooms ids
>> Throws:
>> org.apache.openmeetings.webservice.error.ServiceException
>>
>>
>> /* END: DOCUMENTATION */
>>
>> Using this documentation i constructed an url that is as follows:
>> http://OM-Server-IP:5080/meetingcenter/services/room/counter
>> s/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5
>> 
>>
>> Where
>>  Meetingcenter is the om installation folder (custom context)
>> Room / counters is the service with the called method
>>  sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
>>   id=5 the id of the room that you want to consult.
>>
>> Using this url and method i get error responses.
>>
>>
>> The documentation references the type List ,
>> So it could be an array???.
>>
>> These are the responses i am getting according to the values that i tried.
>>
>>  id=5: "No message body writer has been found for class
>> java.util.ArrayList, ContentType: application/json"
>>
>>  id=[5]: (NULL). Using browser console 404
>>
>>  id={5}: (NULL). Using browser console 400
>>
>>  id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room r
>> WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
>> correctness. See nested exception for details."
>>
>>  id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room
>> r WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
>> correctness. See nested exception for details."
>>
>>
>> Apparently There is something wrong with sending the room id's.
>>
>> To corroborate that correct information is being sent as hash,
>> information is requested from another web service with positive results.
>> For example:
>>
>>   http://OM-Server-IP:5080/meetingcenter/services/user?sid=f
>> 02e731d-2fa4-496c-a78f-86f9d6c6b382
>> 
>>
>> And the answer is an array with a full list of all the users that exist
>> in this instance:
>>
>>   {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
>> r...@domain.com","id":1},"firstname":"firstname","id":1,
>> "languageId":8,"lastname":"lastname","login":"root","righ
>> ts":["Admin","Soap","Room","Login","Dashboard"],"timeZoneI
>> d":"America/Mexico_City","type":"user"}]}
>>
>>
>>
>> Any clue
>>
>> Thanks in advance
>> Ramón
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax


Re: WebService problem ...

2017-04-17 Thread Maxim Solodovnik
Hello Ramon,

I'll try to reproduce this using 3.2.1 and will write back

On Mon, Apr 17, 2017 at 9:03 PM, Ramón Zárate Moedano 
wrote:

> Hello Community:
>
> Technical details
> OM 3.2.0 (Revisión 1782178)
> Moodle 3.2
> OM-moodle-plugin 2.0.2.3 2017031011
>
> I am developing a moodle integration using openmeetings(3.2.0). I am using
> OM plugin (downloaded from moodle.org/plugins) In addition to the
> features offered by the plugin, I need to add the functionality of knowing
> how many concurrent users are in each om room.
>
> To accomplish this task, I'm using webservice RoomWebService
> (http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.html
> ).
>
> Using "room" service and the "counters" method.
>
> /* START: DOCUMENTATION */
>
> counters
>
> @GET
>  @Path(value="/counters")
> public List counters(@QueryParam(value="sid")
>
>  String sid,
>
>  @QueryParam(value="id")
>
>  List ids)
> throws
> org.apache.openmeetings.webservice.error.ServiceException
>
> Returns current users for rooms ids
>
> Parameters:
> sid - - The SID of the User. This SID must be marked as Loggedin
> ids - - id of the room you need counters for
> Returns:
> - current users for rooms ids
> Throws:
> org.apache.openmeetings.webservice.error.ServiceException
>
>
> /* END: DOCUMENTATION */
>
> Using this documentation i constructed an url that is as follows:
> http://OM-Server-IP:5080/meetingcenter/services/room/counter
> s/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5
> 
>
> Where
>  Meetingcenter is the om installation folder (custom context)
> Room / counters is the service with the called method
>  sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
>   id=5 the id of the room that you want to consult.
>
> Using this url and method i get error responses.
>
>
> The documentation references the type List ,
> So it could be an array???.
>
> These are the responses i am getting according to the values that i tried.
>
>  id=5: "No message body writer has been found for class
> java.util.ArrayList, ContentType: application/json"
>
>  id=[5]: (NULL). Using browser console 404
>
>  id={5}: (NULL). Using browser console 400
>
>  id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room r
> WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
> correctness. See nested exception for details."
>
>  id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room r
> WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
> correctness. See nested exception for details."
>
>
> Apparently There is something wrong with sending the room id's.
>
> To corroborate that correct information is being sent as hash, information
> is requested from another web service with positive results. For example:
>
>   http://OM-Server-IP:5080/meetingcenter/services/user?sid=
> f02e731d-2fa4-496c-a78f-86f9d6c6b382
> 
>
> And the answer is an array with a full list of all the users that exist in
> this instance:
>
>   {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
> r...@domain.com","id":1},"firstname":"firstname","id
> ":1,"languageId":8,"lastname":"lastname","login":"root","
> rights":["Admin","Soap","Room","Login","Dashboard"],"timeZon
> eId":"America/Mexico_City","type":"user"}]}
>
>
>
> Any clue
>
> Thanks in advance
> Ramón
>



-- 
WBR
Maxim aka solomax


WebService problem ...

2017-04-17 Thread Ramón Zárate Moedano
Hello Community:

Technical details
OM 3.2.0 (Revisión 1782178)
Moodle 3.2
OM-moodle-plugin 2.0.2.3 2017031011

I am developing a moodle integration using openmeetings(3.2.0). I am using
OM plugin (downloaded from moodle.org/plugins) In addition to the features
offered by the plugin, I need to add the functionality of knowing how many
concurrent users are in each om room.

To accomplish this task, I'm using webservice RoomWebService
(http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.html).

Using "room" service and the "counters" method.

/* START: DOCUMENTATION */

counters

@GET
 @Path(value="/counters")
public List counters(@QueryParam(value="sid")

 String sid,

 @QueryParam(value="id")

 List ids)
throws
org.apache.openmeetings.webservice.error.ServiceException

Returns current users for rooms ids

Parameters:
sid - - The SID of the User. This SID must be marked as Loggedin
ids - - id of the room you need counters for
Returns:
- current users for rooms ids
Throws:
org.apache.openmeetings.webservice.error.ServiceException


/* END: DOCUMENTATION */

Using this documentation i constructed an url that is as follows:
http://OM-Server-IP:5080/meetingcenter/services/room/
counters/?=d69ec56c-a2e9-4fd5-9712-e460748dc1db=5


Where
 Meetingcenter is the om installation folder (custom context)
Room / counters is the service with the called method
 sid=d69ec56c-a2e9-4fd5-9712-e460748dc1db hash login
  id=5 the id of the room that you want to consult.

Using this url and method i get error responses.


The documentation references the type List ,
So it could be an array???.

These are the responses i am getting according to the values that i tried.

 id=5: "No message body writer has been found for class
java.util.ArrayList, ContentType: application/json"

 id=[5]: (NULL). Using browser console 404

 id={5}: (NULL). Using browser console 400

 id[]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room r
WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
correctness. See nested exception for details."

 id[0]=5: "HTTP Status 500 - Failed to execute query "SELECT r FROM Room r
WHERE r.deleted = false AND r.id IN :ids". Check the query syntax for
correctness. See nested exception for details."


Apparently There is something wrong with sending the room id's.

To corroborate that correct information is being sent as hash, information
is requested from another web service with positive results. For example:

  http://OM-Server-IP:5080/meetingcenter/services/user?
sid=f02e731d-2fa4-496c-a78f-86f9d6c6b382


And the answer is an array with a full list of all the users that exist in
this instance:

  {"userDTO":[{"address":{"country":"US","deleted":false,"email":"
r...@domain.com","id":1},"firstname":"firstname","id":1,"languageId":8,"
lastname":"lastname","login":"root","rights":["Admin","Soap"
,"Room","Login","Dashboard"],"timeZoneId":"America/Mexico_
City","type":"user"}]}



Any clue

Thanks in advance
Ramón