[cvs] [Wiki] changed: WSDLHowTo
Wiki Guest
wiki at wiki.horde.org
Mon Jun 6 01:25:31 PDT 2005
guest [213.139.2.226] Mon, 06 Jun 2005 01:25:31 -0700
Modified page: http://wiki.horde.org/WSDLHowTo
New Revision: 1.3
@@ -1,11 +1,21 @@
+ Using WSDL to Interface with the Horde API
+
+Most Horde modules have an API interface which is used by other modules to access and exchange data. These API's are described in the file <em>modulename/lib/api.php</em>. Calling the <em>/rpc.php</em> in your Horde webroot allows you to access the API remotely via RPC/DISCO/SOAP/WSDL etc. The following script describes how to access a Horde installation remotely and list the APIs that are available.
+
+If you have IMP/Turba installed you can also try these calls which are commented out in the script:
+<code type="php">
+ $test = print_r($client->contacts_sources(0, true), 1);
+ $test = print_r($client->mail_folderlist(), 1);
+</code>
+For further information, refer to the http://dev.horde.org/
<code type="php">
<html>
<head><title>Horde WSDL Test</title></head>
<body>
<?php
+// By <vijay.mahrra / es.easynet.net>
require_once 'SOAP/Client.php';
$horde_user = @$_POST['user'];
$horde_pass = @$_POST['pass'];
$horde_baseurl = @$_POST['url'];
More information about the cvs
mailing list