Hello Jacob,

I have created one library in php.
I have created functions for most of the things because i am using it in
one of the project.
You can check it out.

I am using through CURL in php.

*Steps to use (Lets us say , Login user ) :*
*-------------------------------------------------------*

 $omobj = new Openmeeting($db_vHost_v, $db_vUserName_v, $db_vPassword_v,
$db_vDatabase_v, $vOpenmeetingUrl_v); // Creating library object
$sid_response = $omobj->omCreateSession();  // Creating openmeeting session
$SID = $sid_response[1][1][0];
$res = $omobj->omLoginUser($SID,
$this->config->item('OPEN_MEETINGS_ADMIN_USERNAME'),
$this->config->item('OPEN_MEETINGS_ADMIN_PASSWORD'));  // Login User

Hope this will help you, Let me know if anything else needed.





Regards,
Abhishek Yadav



On Fri, May 1, 2015 at 6:10 PM, Jacob Ouanounou <[email protected]>
wrote:

> Hello
>
> Does someone have an idea of what I should do to make it work ?
>
> I am new in SOAP, I have written this SIMPLE PROGRAM in PHP to get a
> session-ID , and I get the fault below.
>
> Thank you very much
>
>
>
> <?php
> require('nusoap/lib/nusoap.php');
>
> $client = new nusoap_client("
> http://192.168.1.54:5080/openmeetings/services/UserService/";);
>
> $error = $client->getError();
> if ($error) {
>     echo "<h2>Constructor error</h2><pre>" . $error . "</pre>";
> }
>
> $result = $client->call("getSession");
>
> if ($client->fault) {
>     echo "<h2>Fault</h2><pre>";
>     print_r($result);
>     echo "</pre>";
> }
> else {
>     $error = $client->getError();
>     if ($error) {
>         echo "<h2>Error</h2><pre>" . $error . "</pre>";
>     }
>     else {
>         echo "<h2>Books</h2><pre>";
>         echo $result;
>         echo "</pre>";
>     }
> }
>
> and I get this FAULT :
> Fault
>
> Array
> (
>     [faultcode] => soapenv:Server
>     [faultstring] => namespace mismatch require 
> http://services.axis.openmeetings.apache.org found http://tempuri.org
>     [detail] =>
> )
>
>
>

<<attachment: Openmeeting.php>>

Reply via email to