RE: [SOAP] problem with generateProxyCode
| From: | Viner, David | Date: | Wed, 25 Feb 2004 18:16:01 +0000 |
| Subject: | RE: [SOAP] problem with generateProxyCode | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1387@lists.php.net to get a copy of this message | ||
after playing with this more, i discovered that my wsdl was available from
both https and http. using https causes the error below. using http works
fine.
dave
-----Original Message-----
From: Viner, David [mailto:dviner@yahoo-inc.com]
Sent: Tuesday, February 24, 2004 5:29 PM
To: 'soap@lists.php.net'
Subject: [SOAP] problem with generateProxyCode
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
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php