call to a webservice. It all worked fine but when we tried to deploy
it on the live site there appears to be some version issues. I get
this error:
Fail: Unknown protocol. Only http and https are allowed.
To solve it I think it would just be easier to rewrite my existing PHP
code to use NuSoap rather than what I am currently using. Can someone
help me change this php code into a NuSoap version and tell me what
I'd need to install on a centos box to make it work? Thanks in
advance:
<?php
try
{
$app = new
SoapClient("accessmanagerreportservice.wsdl") ;
} catch (Exception $a)
{
print "failed to read wsdl";
}
$params = array('sessionKey'=>"blah" ,
'reportName'=>"ClientSumm
aryPerFirewall", 'parameters'=>"FirewallId=477;");
try
{
$answer = $app-
>__soapCall("GenerateReport" ,array($params));
print "Success";
} catch (Exception $err)
{
print "Fail: " . $err->getMessage();
}
?>