Re: [SOAP] problem with generateProxyCode
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Mon, 25 Apr 2005 04:11:01 +0000 |
| Subject: | Re: [SOAP] problem with generateProxyCode | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1893@lists.php.net to get a copy of this message | ||
I got the same problem using it with SSL. Could you please let me know the
solution if you can solve it as soon as possible.
Best Regards,
Wajee Teswanich
wajee@sec.or.th
David Viner wrote:
> 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:phpphp-4.3.0-stablepearSOAPWSDL.
> 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:phpphp-4.3.0-stab
> lepearSOAPWSDL.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:phpphp-4.3.
> 0-stablepearSOAPWSDL.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