Re: [SOAP] Question about PEAR::SOAP and https

From: Date: Thu, 31 Jul 2003 12:03:41 +0000
Subject: Re: [SOAP] Question about PEAR::SOAP and https
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-901@lists.php.net to get a copy of this message
I think the problem lies in the class SOAP_WSDL_Cache (defined in WSDL.php). To retrieve the WSDL file, it makes an fopen call. Problem is, fopen does not speak HTTPS unless you have at least PHP 4.3.0 AND you have compiled PHP with --with-curlwrappers I am going to work on changing SOAP_WSDL_Cache to use cURL instead of fopen. I think that would reach a greater audience, since you only need PHP 4.0.2 to get curl support, but 4.3 to get curl wrappers. Guido Gavilanes wrote:
I tried using the second argument, but it still seems to de doing the same as before; it doesn't return anything.
Try using $soapclient = new SOAP_Client("https://.../service.asmx?wsdl",true); Instead. The second argument tells PEAR::SOAP that the file is a WSDL
file.
Sagi On 18/06/2003 19:03, Guido Gavilanes wrote:
Hello, I am using PEAR::SOAP and I invoked a webservice mounted on another https
server, but the script returned a message telling that there was no function defined in wsdl. when I fetch from my server the wsdl mounted on https using PHP and Curl, the contents in XML are displayed as expected, which means Curl is finding the content of the wsdl's URL.
I found in the list there was a fix to do in PEAR::SOAP, and I fixed the
file WSDL.php; but in this case, this line causes the script keeps on processing and finally doesn't return anythig, neither process further invocation:
$soapclient = new SOAP_Client("https://.../service.asmx?wsdl"); do I need to fix another files? I would appreciate some help!! Thank you


« previous php.soap (#901) next »