yes plugins are working actually this method is not used due to all plugins are create rooms, then use it
you can download 3.0.4-SNAPSHOT for your needs On 15 October 2014 00:17, César M. Sandrigo <[email protected]> wrote: > Hi guys! It's me again. > > Today I installed the version 2.2.0 of OM and I tried to use GetRooms > SOAP method. I'm getting the same error that I got with the newest > versions (3.0.2 and 3.0.3). > > I downloaded the source code of 2 o 3 plugins for CMS and other tools > and I see that these plugins are using the RoomService. Do you know if > these plugins are still working with the newest versions? > > Maybe a I'm doing something wrong. Is there a way to get room_id > without using the getRooms method? I need room_id to get the > invitation hash. > > Greetings. > > 2014-10-14 10:11 GMT-03:00 César M. Sandrigo <[email protected]>: > > Thank you very much Maxim! We'll wait for the next release. > > > > 2014-10-11 6:38 GMT-03:00 Maxim Solodovnik <[email protected]>: > >> should be fixed in latest 3.0.x build: > >> > https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.0.x/ > >> #72 > >> > >> https://issues.apache.org/jira/browse/OPENMEETINGS-1102 > >> > >> On 11 October 2014 01:14, Maxim Solodovnik <[email protected]> > wrote: > >>> > >>> seems to be reproducible :( > >>> will try to workaround/fix it :( > >>> > >>> On 11 October 2014 00:29, Maxim Solodovnik <[email protected]> > wrote: > >>>> > >>>> I'm the dev :) > >>>> will try SoapUI and write back > >>>> > >>>> On 10 October 2014 22:54, César M. Sandrigo <[email protected]> > wrote: > >>>>> > >>>>> Hi, I'm back. Well, I tried again with a clean installation. > >>>>> > >>>>> I have intalled the 3.0.3 release and when a tried to add the wsdl > >>>>> from UserService or RoomService to SoapUI I got the following error: > >>>>> > >>>>> Source: http://localhost:5080/openmeetings/services/RoomService?wsdl > >>>>> Error: type 'Enum@http://www.w3.org/2001/XMLSchema' not found. > >>>>> > >>>>> So I had to install again the 3.0.2 release and then I could add the > >>>>> wsdl to SoapUI. Then, I tried to call getRooms method and I still get > >>>>> the same error from the begining with the same stack trace in the > >>>>> red5.log file :( . > >>>>> > >>>>> Some idea of what is happening? Maybe I should write to the devs mail > >>>>> list. What do you think? > >>>>> > >>>>> > >>>>> 2014-10-10 10:19 GMT-03:00 Maxim Solodovnik <[email protected]>: > >>>>> > OK, will wait for the news :) > >>>>> > I would suggest you to use recent release: 3.0.3 > >>>>> > > >>>>> > On 10 October 2014 20:12, César M. Sandrigo <[email protected]> > >>>>> > wrote: > >>>>> >> > >>>>> >> Hi guys, > >>>>> >> > >>>>> >> Thank you for your responses. I will try to response back to > >>>>> >> everyone: > >>>>> >> > >>>>> >> > I guess you are not calling loginUser this is why you get this > >>>>> >> > stacktrace > >>>>> >> > >>>>> >> Yes, i'm calling getSession and loginUser to validate the session > id. > >>>>> >> I think this isn't my problem because when I call other methods > (like > >>>>> >> getRoomTypes), it's working fine. > >>>>> >> > >>>>> >> > How you are calling SOAP webservice > >>>>> >> > >>>>> >> Just for now, I'm using SoapUi to tests the methods that I supose > >>>>> >> I'll > >>>>> >> need when i start integrating with our application. The aplication > >>>>> >> which I want to integrate with OpenMeetings is written in .NET > 3.5. > >>>>> >> With SoapUI I'm calling the method in this way: > >>>>> >> > >>>>> >> <ser:getRooms> > >>>>> >> <ser:SID>57eaa4137e8cffdd88843fabfd36ab03</ser:SID> > >>>>> >> <ser:start>1</ser:start> > >>>>> >> <ser:max>10</ser:max> > >>>>> >> <ser:orderby>name</ser:orderby> > >>>>> >> <ser:asc>true</ser:asc> > >>>>> >> </ser:getRooms> > >>>>> >> > >>>>> >> Well, I believe that's all you request. > >>>>> >> > >>>>> >> On the other hand, I'll generate a new clean installation of > >>>>> >> OpenMeetings and I'll try again. We were using the application and > >>>>> >> creating example users and rooms, so I'm guessing that we could > break > >>>>> >> some 'not null restriction' or something like this. I'll share any > >>>>> >> news. > >>>>> >> > >>>>> >> Thanks again for your help. > >>>>> >> > >>>>> >> Greetings, > >>>>> >> César. > >>>>> >> > >>>>> >> > >>>>> >> 2014-10-10 1:35 GMT-03:00 Abhishek Yadav > >>>>> >> <[email protected]>: > >>>>> >> > Thanks Max..i will try this... > >>>>> >> > > >>>>> >> > On Fri, Oct 10, 2014 at 10:03 AM, Maxim Solodovnik > >>>>> >> > <[email protected]> > >>>>> >> > wrote: > >>>>> >> >> > >>>>> >> >> you can use this PHP API: > >>>>> >> >> > >>>>> >> >> > https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/ > >>>>> >> >> to > >>>>> >> >> simplify your code > >>>>> >> >> > >>>>> >> >> On 10 October 2014 11:28, Abhishek Yadav > >>>>> >> >> <[email protected]> > >>>>> >> >> wrote: > >>>>> >> >>> > >>>>> >> >>> Hello Cezar, > >>>>> >> >>> > >>>>> >> >>> I am calling like this it is working fine.... > >>>>> >> >>> Before running this call loginUser webservice as suggested by > >>>>> >> >>> Max... > >>>>> >> >>> > >>>>> >> >>> I am using PHP programming language... > >>>>> >> >>> > >>>>> >> >>> $url = > >>>>> >> >>> > >>>>> >> >>> > >>>>> >> >>> "http://yoururl:5080/openmeetings/ > "."services/RoomService/getRoomWithClientObjectsById?SID=".$sid."&rooms_id=".$roomid.""; > >>>>> >> >>> > >>>>> >> >>> $curlObj = curl_init(); > >>>>> >> >>> curl_setopt($curlObj, CURLOPT_URL, $url); > >>>>> >> >>> curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); > >>>>> >> >>> curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); > >>>>> >> >>> curl_setopt($curlObj, CURLOPT_HEADER, 0); > >>>>> >> >>> //curl_setopt($curlObj, CURLOPT_HTTPHEADER, > >>>>> >> >>> array('Content-type:Application/xml')); > >>>>> >> >>> $response = curl_exec($curlObj); > >>>>> >> >>> > >>>>> >> >>> Try this, may be it will help you... > >>>>> >> >>> > >>>>> >> >>> > >>>>> >> >>> Regards, > >>>>> >> >>> Abhishek > >>>>> >> >>> > >>>>> >> >>> On Fri, Oct 10, 2014 at 9:50 AM, Maxim Solodovnik > >>>>> >> >>> <[email protected]> > >>>>> >> >>> wrote: > >>>>> >> >>>> > >>>>> >> >>>> according to the logs the version is 3.0.2-RELEASE > >>>>> >> >>>> > >>>>> >> >>>> @Cezar, could you please share SOAP methods you are calling? > >>>>> >> >>>> (order > >>>>> >> >>>> and > >>>>> >> >>>> stubbed parameters) > >>>>> >> >>>> > >>>>> >> >>>> I guess you are not calling loginUser this is why you get > this > >>>>> >> >>>> stacktrace > >>>>> >> >>>> > >>>>> >> >>>> On 10 October 2014 11:17, Abhishek Yadav > >>>>> >> >>>> <[email protected]> wrote: > >>>>> >> >>>>> > >>>>> >> >>>>> Hii Sandrigo, > >>>>> >> >>>>> > >>>>> >> >>>>> > >>>>> >> >>>>> How you are calling SOAP webservice...and which version of > OM > >>>>> >> >>>>> you > >>>>> >> >>>>> are > >>>>> >> >>>>> using ?? > >>>>> >> >>>>> > >>>>> >> >>>>> On Fri, Oct 10, 2014 at 1:31 AM, César M. Sandrigo > >>>>> >> >>>>> <[email protected]> wrote: > >>>>> >> >>>>>> > >>>>> >> >>>>>> Hi everybody! > >>>>> >> >>>>>> > >>>>> >> >>>>>> I'm using OpenMeetings SOAP services to integrate it with > an > >>>>> >> >>>>>> existing > >>>>> >> >>>>>> application in my company. > >>>>> >> >>>>>> > >>>>> >> >>>>>> When I try to get all existing rooms using methods > GetRooms or > >>>>> >> >>>>>> GetRoomWithCurrentUsers i get a FaultException. In the > >>>>> >> >>>>>> red5.log > >>>>> >> >>>>>> file I > >>>>> >> >>>>>> could find the stack trace of the orginal exception: > >>>>> >> >>>>>> > >>>>> >> >>>>>> Caused by: java.lang.NullPointerException: null > >>>>> >> >>>>>> at > >>>>> >> >>>>>> > >>>>> >> >>>>>> > >>>>> >> >>>>>> > org.apache.openmeetings.db.dto.room.RoomSearchResult.<init>(RoomSearchResult.java:34) > >>>>> >> >>>>>> ~[openmeetings-db-3.0.2-RELEASE.jar:na] > >>>>> >> >>>>>> at > >>>>> >> >>>>>> > >>>>> >> >>>>>> > >>>>> >> >>>>>> > org.apache.openmeetings.axis.services.RoomWebService.getRooms(RoomWebService.java:537) > >>>>> >> >>>>>> ~[openmeetings-axis-3.0.2-RELEASE.jar:na] > >>>>> >> >>>>>> at > >>>>> >> >>>>>> > >>>>> >> >>>>>> > >>>>> >> >>>>>> > org.apache.openmeetings.axis.services.RoomWebServiceFacade.getRooms(RoomWebServiceFacade.java:99) > >>>>> >> >>>>>> ~[openmeetings-axis-3.0.2-RELEASE.jar:na] > >>>>> >> >>>>>> ... 40 common frames omitted > >>>>> >> >>>>>> > >>>>> >> >>>>>> I'm using the default installation of openmeetings with > derby > >>>>> >> >>>>>> database. > >>>>> >> >>>>>> > >>>>> >> >>>>>> I hope you can help me. Thanks in advance, I'm sorry for my > >>>>> >> >>>>>> bad > >>>>> >> >>>>>> english. > >>>>> >> >>>>>> > >>>>> >> >>>>>> César. > >>>>> >> >>>>> > >>>>> >> >>>>> > >>>>> >> >>>> > >>>>> >> >>>> > >>>>> >> >>>> > >>>>> >> >>>> -- > >>>>> >> >>>> WBR > >>>>> >> >>>> Maxim aka solomax > >>>>> >> >>> > >>>>> >> >>> > >>>>> >> >> > >>>>> >> >> > >>>>> >> >> > >>>>> >> >> -- > >>>>> >> >> WBR > >>>>> >> >> Maxim aka solomax > >>>>> >> > > >>>>> >> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > -- > >>>>> > WBR > >>>>> > Maxim aka solomax > >>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> WBR > >>>> Maxim aka solomax > >>> > >>> > >>> > >>> > >>> -- > >>> WBR > >>> Maxim aka solomax > >> > >> > >> > >> > >> -- > >> WBR > >> Maxim aka solomax > -- WBR Maxim aka solomax
