SOAP & $client->__getTypes()
Posted: Thu Apr 02, 2009 5:00 am
Hi,
Im trying to make a soap connection and am using the following an example found on the web (http://www.usenet-forums.com/alt-comp-l ... https.html) which is:
require_once('lib/nusoap.php');
$proxyhost='http://myproxyserver';
$proxyport=8080;
$proxyusername='MY_NT_DOMAIN\thegunner';
$proxypassword='mypassword';
try {
$client = new SoapClient(
"https://www.secureach.com/CheckVerifyNo ... .asmx?WSDL", array('trace' => true), $proxyhost, $proxyport, $proxyusername, $proxypassword);
}
catch (SoapFault $sf) {
echo $sf->getMessage(), "\n";
}
echo "Types:\n";
foreach ($client->__getTypes() as $type)
echo $type, "\n";
echo "Functions:\n";
foreach ($client->__getFunctions() as $function)
echo $function, "\n";
But I get an error message:
Fatal error: Call to undefined method soapclient::__getTypes() in C:\wamp\www\client.php on line 23
Obviously I odn;'t seem to have this __getTypes() function in my nusoap.php......does anyone know what it should contain so I can insert it?...or know of any other reason why this error should be occurring?
Thanks,
Im trying to make a soap connection and am using the following an example found on the web (http://www.usenet-forums.com/alt-comp-l ... https.html) which is:
require_once('lib/nusoap.php');
$proxyhost='http://myproxyserver';
$proxyport=8080;
$proxyusername='MY_NT_DOMAIN\thegunner';
$proxypassword='mypassword';
try {
$client = new SoapClient(
"https://www.secureach.com/CheckVerifyNo ... .asmx?WSDL", array('trace' => true), $proxyhost, $proxyport, $proxyusername, $proxypassword);
}
catch (SoapFault $sf) {
echo $sf->getMessage(), "\n";
}
echo "Types:\n";
foreach ($client->__getTypes() as $type)
echo $type, "\n";
echo "Functions:\n";
foreach ($client->__getFunctions() as $function)
echo $function, "\n";
But I get an error message:
Fatal error: Call to undefined method soapclient::__getTypes() in C:\wamp\www\client.php on line 23
Obviously I odn;'t seem to have this __getTypes() function in my nusoap.php......does anyone know what it should contain so I can insert it?...or know of any other reason why this error should be occurring?
Thanks,