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] => 
)

Reply via email to