are you following the proper steps as,
 1. getSession
 2. loginUser
 3. now try to Add a room and yes you have to pass params (default param)

and you must use admin user to do this

manish

On Wed, May 6, 2009 at 12:45 AM, viv <[email protected]> wrote:
>
> Could someone give a sample soap call to addRoom function in PHP? the
> wsdl shows all parameters as "minoccurs=0", so ideally we should be
> able to create a room, w/o supplying any values to any params rt?
>
> My SOAP code:
>
> $client = new SoapClient('http://localhost:5080/openmeetings/services/
> RoomService?wsdl', array('trace' => 1));
> $client->__soapCall("addRoom",array('name' => 'meet'));
> echo "Response:\n" . $client->__getLastResponse() . "\n";
>
> Response I got
>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> envelope/"><soapenv:Body><ns:addRoomResponse xmlns:ns="http://
> services.axis.openmeetings.org"><ns:return>-1</ns:return></
> ns:addRoomResponse></soapenv:Body></soapenv:Envelope>
>
> Basically, I am getting a "-1" as the response. Any thoughts on this?
>
> thanks
> viv
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to