4.2  Add Answer Webservice

A webservice enables you to add an answer to an existing topic.

Here are the parameters

Here is a script example based on the Add Answer webservice, done in PHP

require("nusoap/nusoap.php");

$sel = new soapclient("http://forumdev.MyDiscussionsnet/webservices/wservice.php");

$param = array(
    'user' => 'LoginAdministrateur',
    'pwd' => 'motdepasseAdministrateur',
    'idforum' => 1,
    'idcat' => 22,
    'idtopic' => 49,
    'text' => 'New reply'
);
$results = $sel->call('add_answer', $param);

If everything goes right, the answer should be added to the topic and should return the two following parameters:


4.1 Webservice : create_topic4.3 Message Edition Webservice