Re: [SOAP] [FIX] WSDL over https

From: Date: Thu, 12 Jun 2003 11:06:01 +0000
Subject: Re: [SOAP] [FIX] WSDL over https
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-710@lists.php.net to get a copy of this message
It effects the clients, there's no problem with the server as the https in the server is handled by your http server and not by PHP. The server works great over https. Sagi On 12/06/2003 12:02, Mike Carter wrote:
Hi, Does this only affect PEAR::SOAP servers? Next week I've got to move my PHP based SOAP Client to a https connection. Hopefully it wont be too much work :-) Regards, MC.
-----Original Message----- From: Sagi Bashari [mailto:sagi@boom.org.il] Sorry, here's the correct version:
--- WSDL.php.orig       2003-06-12 10:55:01.000000000 +0300
+++ WSDL.php    2003-06-12 10:55:23.000000000 +0300
@@ -672,7 +672,7 @@
        if (!$md5_wsdl) {
            // is it a local file?
            // this section should be replace by curl at some point
-            if (!preg_match('/^(http|file):\/\//',$wsdl_fname)) {
+            if (!preg_match('/^(http[s]|file):\/\//',$wsdl_fname)) {
                if (!file_exists($wsdl_fname)) {
                    return $this->_raiseSoapFault("Unable to read local WSDL $wsdl_fname", $wsdl_fname);
                }
On 12/06/2003 10:52, Sagi Bashari wrote:
Hi, There's a bug in the current SOAP package that treats WSDL
     
over HTTPS
as local files. Here's a fix:
--- WSDL.php.orig       2003-06-12 10:46:45.000000000 +0300
+++ WSDL.php    2003-06-12 10:46:52.000000000 +0300
@@ -672,7 +672,7 @@
       if (!$md5_wsdl) {
           // is it a local file?
           // this section should be replace by curl at some point
-            if      
(!preg_match('/^(http[s]|file):\/\//',$wsdl_fname)) {
+            if (!preg_match('/^(http|file):\/\//',$wsdl_fname)) {
               if (!file_exists($wsdl_fname)) {
                   return $this->_raiseSoapFault("Unable to read
local WSDL $wsdl_fname", $wsdl_fname);
               }
Sagi
     
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ______________________________________________________________ __________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ______________________________________________________________ __________ --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.484 / Virus Database: 282 - Release Date: 5/27/2003
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________


« previous php.soap (#710) next »