Fortunately Noah Eltzroth from http://www.noaheltzroth.com/ helped me to solve this problem
after doing this
To fix this problem I modified line 4694 in nusoap.php from:
$this->schemas[$ns]->imports[$ns2][$ii]['loaded'] = true;
To this:
$this->schemas[$ns][$ns2]->imports[$ns2][$ii]['loaded'] = true;
if you still get the same error i got in the CodeIgniter, simply add @ operator to remove the errors
the script works even though it shows the error, it is fine to hide the error
if (! @$list2[$ii]['loaded']) {
$this->schemas[$ns][$ns2]->imports[$ns2][$ii]['loaded'] = true;
$url = @$list2[$ii]['location'];