openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: REST API errors
Date Wed, 18 Apr 2012 13:26:13 GMT
Additionally some boolean params should be 0/1
On Apr 18, 2012 3:42 PM, "German Grekhov" <german.grekhov@gmail.com> wrote:

> Hmm... Maybe, but It works at the last version of the OpenMeetings.
>
> German
>
> 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com>
>
> > addRoomWithModeration(String SID, String name,
> >                        Long roomtypes_id, String comment, Long
> > numberOfPartizipants,
> >                        Boolean ispublic, Boolean appointment, Boolean
> > isDemoRoom,
> >                        Integer demoTime, Boolean isModeratedRoom)
> >
> > That is the method signature, your REST URL does not match that method
> > signature.
> > You specify roughly 50% of the parameters :)
> >
> > Sebastian
> >
> > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> >
> > > Here is my REST request:
> > >
> > >
> > >
> >
> http://demo.dataved.ru/openmeetings/services/RoomService/addRoomWithModeration?SID=2c1270216056c7ad31a269da22cdf7ee&name=newroom&roomtypes_id=3&numberOfPartizipants=10&ispublic=true&isModeratedRoom=false
> > >
> > > The errors with SIP were earlier, but now they are absent.
> > >
> > > German.
> > >
> > > 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com>
> > >
> > > > German in your log file there is zero notice about SIP. Your problem
> > has
> > > > nothing to do with setting any SIP number.
> > > > It is likely that you simply missed an argument or your SID is just
> not
> > > > valid.
> > > >
> > > > Sebastian
> > > >
> > > > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> > > >
> > > > > So, I need to use "addRoom" instead of "addRoomWithModeration",
> don't
> > > me?
> > > > > And I can set the sip number here?
> > > > >
> > > > > German.
> > > > >
> > > > > 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com>
> > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/roomservice/org/openmeetings/axis/services/RoomWebService.java?r=4515#584
> > > > > >
> > > > > > Any of those parameters is null and it shouldn't:
> > > > > > user_level
> > > > > > numberOfPartizipants
> > > > > > ispublic
> > > > > >
> > > > > > All parameters:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/app/org/openmeetings/app/data/conference/Roommanagement.java?r=4515#721
> > > > > >
> > > > > > Sebastian
> > > > > >
> > > > > > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> > > > > >
> > > > > > > The version is 1.9.0.
> > > > > > >
> > > > > > > German
> > > > > > >
> > > > > > > 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com>
> > > > > > >
> > > > > > > > What is the exact revision of OpenMeetings?
> > > > > > > > You can find out by unzipping the file openmeetings.jar,
see:
> > > > > > > > http://incubator.apache.org/openmeetings/GetVersionInfo.html
> > > > > > > >
> > > > > > > > Sebastian
> > > > > > > >
> > > > > > > > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> > > > > > > >
> > > > > > > > > You can see it in the attached log.txt file.
> > > > > > > > > The version of OpenMettings is 1.9.x,
> > > > > > > > >
> > > > > > > > > German.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com>:
> > > > > > > > >
> > > > > > > > > > Please post the exact log file exception
and what
> > > > > version/revision
> > > > > > of
> > > > > > > > > > Openmeetings your using.
> > > > > > > > > >
> > > > > > > > > > Sebastian
> > > > > > > > > >
> > > > > > > > > > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> > > > > > > > > >
> > > > > > > > > >> Oh, yes, I forgot to tell about the
log.
> > > > > > > > > >> It contains an exception about the duplicate
SIP number
> of
> > > the
> > > > > > room.
> > > > > > > > > >> But there is no way to set SIP number
through the REST
> > API.
> > > > > > > > > >>
> > > > > > > > > >> German.
> > > > > > > > > >>
> > > > > > > > > >> 2012/4/18 seba.wagner@gmail.com <seba.wagner@gmail.com
> >:
> > > > > > > > > >> > -1 means that there is an exception
in the log. Have
> you
> > > > been
> > > > > > > > looking
> > > > > > > > > at
> > > > > > > > > >> > red5/openmeetings/error log ?
> > > > > > > > > >> >
> > > > > > > > > >> > 2012/4/18 German Grekhov <german.grekhov@gmail.com>
> > > > > > > > > >> >
> > > > > > > > > >> >> Hello, colleagues.
> > > > > > > > > >> >>
> > > > > > > > > >> >> Could you tell me please, have
you ever met the
> > following
> > > > > > > problems
> > > > > > > > in
> > > > > > > > > >> >> OpenMeetinsg?
> > > > > > > > > >> >>
> > > > > > > > > >> >> I use REST API, and I want
to create a new room using
> > > > > > > > > >> >> "addRoomWithModeration". But
it always returns -1.
> Have
> > > you
> > > > > > ever
> > > > > > > > met
> > > > > > > > > >> >> this problem?
> > > > > > > > > >> >> The version of OM is old, and
maybe you nkow some old
> > > bugs
> > > > > with
> > > > > > > > it...
> > > > > > > > > >> >>
> > > > > > > > > >> >> Also, when I create a secure
hash for entering a room
> > > then
> > > > I
> > > > > > > can't
> > > > > > > > > use
> > > > > > > > > >> >> it. I follow a link
> > > > > > "<my_sever>/openmeetings/?secureHash=<hash>"
> > > > > > > > but
> > > > > > > > > >> >> OpenMeetings just shows me
a clear window.
> > > > > > > > > >> >>
> > > > > > > > > >> >> Best regards,
> > > > > > > > > >> >> German
> > > > > > > > > >> >>
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> > Sebastian Wagner
> > > > > > > > > >> > https://twitter.com/#!/dead_lock
> > > > > > > > > >> > http://www.openmeetings.de
> > > > > > > > > >> > http://www.webbase-design.de
> > > > > > > > > >> > http://www.wagner-sebastian.com
> > > > > > > > > >> > seba.wagner@gmail.com
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Sebastian Wagner
> > > > > > > > > > https://twitter.com/#!/dead_lock
> > > > > > > > > > http://www.openmeetings.de
> > > > > > > > > > http://www.webbase-design.de
> > > > > > > > > > http://www.wagner-sebastian.com
> > > > > > > > > > seba.wagner@gmail.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Sebastian Wagner
> > > > > > > > https://twitter.com/#!/dead_lock
> > > > > > > > http://www.openmeetings.de
> > > > > > > > http://www.webbase-design.de
> > > > > > > > http://www.wagner-sebastian.com
> > > > > > > > seba.wagner@gmail.com
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Sebastian Wagner
> > > > > > https://twitter.com/#!/dead_lock
> > > > > > http://www.openmeetings.de
> > > > > > http://www.webbase-design.de
> > > > > > http://www.wagner-sebastian.com
> > > > > > seba.wagner@gmail.com
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Sebastian Wagner
> > > > https://twitter.com/#!/dead_lock
> > > > http://www.openmeetings.de
> > > > http://www.webbase-design.de
> > > > http://www.wagner-sebastian.com
> > > > seba.wagner@gmail.com
> > > >
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message