SOAP: Difference between revisions

308 bytes added ,  17 years ago
Line 43:
'''Version:''' [[PHP]] 5.0.0+
<?php
 
$client = new SoapClient('http://example.com/soap/wsdl');
//load the wsdl file
$result = $client->soapFunc('hello');
$client = new SoapClient('"http://example.com/soap/definition.wsdl'");
//functions are now available to be called
$result = $client->soapFunc('"hello'");
$result = $client->anotherSoapFunc(34234);
 
?>
 
===SOAP Client Information===
<?php
 
$client = new SoapClient("http://example.com/soap/definition.wsdl");
 
//list of SOAP types
print_r($client->__getTypes());
 
//list if SOAP Functions
print_r($client->__getFunctions());
 
?>
 
==[[Python]]==
Anonymous user