Hi to all,
i am new to this community,
when i am trying to run my php program ,i got one error
Error description :
1)Warning: include(Economic.Api.Data): failed to open stream: No such file or directory in xxxx
2)Warning: include(): Failed opening 'Economic.Api.Data' for inclusion (include_path='.:/opt/lampp/lib/php') in xxx
my code :
include ('Economic.Api.Data');
require_once('nusoap.php');
$client = new SoapClient('https://www.e-conomic.com/secure/api1/EconomicWebService.asmx?WSDL');
$client->Connect(array(
'agreementNumber' => 'xxxxxxx',
'userName' => 'xxx',
'password' => 'xxxxx'
));
$functions = $client->__getFunctions ();
//var_dump ($functions);
if(is_soap_fault($functions))
{
print'something went wrong';
print $functions->faultstring;
}
else
{
echo 'connected..';
}
Here, is my another question is that,
in java language ,if we want to import some packages,
we just write IMPORT JAVA.LANG.*;
similayly, is there any way to call the same in PHP. for E-conomic Api's...
** is it the right way to write include(e-conomic.api) in include....
Anyone help me out plz..
quick reply is appreceatable.
Kind Regards,
sudheer:mellow: