Hi there,
I'm new to soap, so please be gentle on me.
I used the nusoap wizard for initializing the service.
When submiting my form and invoking the service I recieve following messages:
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined property: useCURL in d:\wwwroot\bssv\nusoap.php on line 7624
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
Notice: Undefined index: _transient in d:\wwwroot\bssv\nusoap.php on line 213
ofcourse I can set the error_reporting in php.ini
from error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE.
but when devlopeing I like to know everything.
So where do I need to set these parameters?
this is what the wizard produces:
// Nusoap library 'nusoap.php' should be available through include_path directive
require_once('nusoap.php');
// set the URL or path to the WSDL document
$wsdl = "http://JDE:JDE@vmweb:91/PY812/RI_AddressBookManager?WSDL";
// instantiate the SOAP client object
$soap = new SoapClient($wsdl,"wsdl");
//error accessing WSDL
$error = $soap->getError();
// set credentials
$soap->setCredentials("JDE","JDE");
// get the SOAP proxy object, which allows you to call the methods directly
$proxy = $soap->getProxy();
// set parameter parameters (getAddressBookElement^)
//$parameters = array('entityTypeCode'=>"",'businessUnit'=>"",'languageCode'=>"",'entity'=>"",'addressCodes'=>"",'industryClassificationCode'=>"",'entityName'=>"",'categoryCodesAddressBook'=>"",'entityId'=>"1001");
$parameters = array('entityId'=>"1001");
// get the result, a native PHP type, such as an array or string
$result = $proxy->getAddressBook($parameters); |
Furthermore I run into this error:
wsse:InvalidSecurity (Missing in SOAP Header)
Can someone point me in the right direction?
thanks