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 <solomax...@gmail.com>:
> 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 <cmsandr...@gmail.com> 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 <abhishek.ya...@hiddenbrains.in>:
>> > Thanks Max..i will try this...
>> >
>> > On Fri, Oct 10, 2014 at 10:03 AM, Maxim Solodovnik
>> > <solomax...@gmail.com>
>> > 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
>> >> <abhishek.ya...@hiddenbrains.in>
>> >> 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
>> >>> <solomax...@gmail.com>
>> >>> 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
>> >>>> <abhishek.ya...@hiddenbrains.in> 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
>> >>>>> <cmsandr...@gmail.com> 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

Reply via email to