[horde] SOAP client request against horde-3.0-rc1
Jan Schneider
jan at horde.org
Wed Nov 24 06:30:45 PST 2004
Zitat von Rafael Varela Pet <srrafa at usc.es>:
> Hi,
>
> What is the proper method to make a SOAP call to an HORDE application?
>
> In this scenario:
>
> horde-3.0-rc1
> turba-h3-2.0-rc1
>
> I'm trying to call the funcion "sources" exposed in turba/lib/api.php
> using the PEAR SOAP 0.8RC3 module:
>
> <?php
>
> require "SOAP/Client.php";
>
>
> $soapclient = new SOAP_Client("http://server/horde/rpc.php", false, "",
> array( user=>'user', pass=>'pass') );
>
> $parms = array( 1 );
> $options = array('namespace' => 'contacts', 'trace' => 1);
> $ret = $soapclient->call( "sources", $parms, 'urn:horde' );
> print_r($ret);
>
> ?>
The namespace is 'urn:horde', the method calls are like 'contacts.sources'.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list