NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
undefined index in nusoap.php


Joined: 20 Feb 2008
Posts: 2
Reply with quote
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:


Code:
        // 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
View user's profileFind all posts by alaricSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
what nusoap version are you using?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Feb 2008
Posts: 2
Reply with quote
Thanks for your reply,

I use the one included with phped 5.2 (227), Nusoap 1.104.
View user's profileFind all posts by alaricSend private message
undefined index in nusoap.php
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic