This function did not work if schema is not in wsdl file.
SoapClient::__getFunctions
(PHP 5 >= 5.0.1)
SoapClient::__getFunctions — Gibt eine Liste verfügbarer SOAP-Funktionen zurück
Beschreibung
public array SoapClient::__getFunctions
( void
)
Gibt eine Liste verfügbarer SOAP-Funktionen zurück.
Diese Funktion arbeitet nur im WSDL-Modus.
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Die Liste der SOAP-Funktionen.
Beispiele
Beispiel #1 SoapClient::__getFunctions()-Beispiel
<?php
$client = new SoapClient('ein.wsdl');
var_dump($client->__getFunctions());
?>
Dougal Matthews ¶
4 years ago
example for amazon webservice
<?php
$wsdl_url =
"http://soap.amazon.com/schemas3/AmazonWebServices.wsdl";
$client = new SoapClient($wsdl_url);
var_dump($client->__getFunctions());
?>
