problem with generateProxyCode
| From: | Viner, David | Date: | Wed, 25 Feb 2004 01:29:24 +0000 |
| Subject: | problem with generateProxyCode | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1386@lists.php.net to get a copy of this message | ||
Hi,
I have some simple code that i can get to work. When i run it, I get these
errors:
<b>Notice</b>: Undefined index: in
<b>D:\php\php-4.3.0-stable\pear\SOAP\WSDL.
php</b> on line <b>437</b><br />
<br />
<b>Warning</b>: reset() [<a
href='http://www.php.net/function.reset'>function.r
eset</a>]: Passed variable is not an array or object in
<b>D:\php\php-4.3.0-stab
le\pear\SOAP\WSDL.php</b> on line <b>439</b><br />
<br />
<b>Warning</b>: current() [<a
href='http://www.php.net/function.current'>functi
on.current</a>]: Passed variable is not an array or object in
<b>D:\php\php-4.3.
0-stable\pear\SOAP\WSDL.php</b> on line <b>440</b><br />
The relevant lines from are these (from generateProxyCode())
if (!$port) {
reset($this->services[$this->service]['ports']);
$port = current($this->services[$this->service]['ports']);
}
The only thing i can see that might cause a problem is the wsdl is
accessible from https only. does that cause SOAP_WSDL to fail?
thanks
dave