tochnitanit
New member
בעיה עם SOAP
I have a php code that uses soap I get the error ERROR: WSDL - SOAP-ERROR: Parsing WSDL: Couldn't load from it's a security wsdl so i need to send also username and password. what is wrong in my code? I see it at web and does'nt work from soap in php code. here is my code:
$soap_url = 'http://some-ip/prod/app/soap/user/storeitemws?WSDL';
$sh_param = array(
'username' => 'aya',
'password' => 'aya');
$soap_client = new SoapClient($soap_url);
$test = $soap_client->Authenticate($sh_param);
echo $test . "\nDone";
?> thanks
if I go to it from the browser it askes for username and password.
I have a php code that uses soap I get the error ERROR: WSDL - SOAP-ERROR: Parsing WSDL: Couldn't load from it's a security wsdl so i need to send also username and password. what is wrong in my code? I see it at web and does'nt work from soap in php code. here is my code:
$soap_url = 'http://some-ip/prod/app/soap/user/storeitemws?WSDL';
$sh_param = array(
'username' => 'aya',
'password' => 'aya');
$soap_client = new SoapClient($soap_url);
$test = $soap_client->Authenticate($sh_param);
echo $test . "\nDone";
?> thanks
if I go to it from the browser it askes for username and password.