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 >