ID:               39283
 User updated by:  cboden at gmail dot com
 Reported By:      cboden at gmail dot com
 Status:           Assigned
 Bug Type:         SOAP related
 Operating System: Linux
 PHP Version:      5.2.0RC5
 Assigned To:      dmitry
 New Comment:

Now installed PHP-5.2.0
 - No longer receive SoapFault (although, may have been an error in my
WSDL file originally)
 - Sill receive "SSL: fatal protocol error" warning
 - Able to suppress SoapClient::__construct to ignore (@)
 - Besides the warning, working as expected, __getLast functions
generate expected results


Previous Comments:
------------------------------------------------------------------------

[2006-10-27 16:50:10] cboden at gmail dot com

Description:
------------
Soap fails to connect to the WSDL.

The server is an Apache-SSL server running on Linux (Note: Not Apache
using mod_ssl).  I am using  PHP (5.2.0RC7). 
php5.2-200610260230.tar.bz2 is the build file.

Reproduce code:
---------------
<pre>
<?php
    try {
        $client = new SoapClient('https://localhost:443/wsdl.php',
Array(
            'allow_self_signed' => 1,
            'verify_peer'       => 0,
            'trace'             => 1,
            'exceptions'        => 1,
        ));
    } catch (Exception $e) {
       die(print_r($e));
    }
?>

Actual result:
--------------
Warning:  SoapClient::SoapClient() [function.SoapClient-SoapClient]:
SSL: fatal protocol error in /client.php on line 9

SoapFault Object

(

    [message:protected] => SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://localhost:443/wsdl.php'

    [string:private] => 

    [code:protected] => 0

    [file:protected] => /client.php

    [line:protected] => 9

    [trace:private] => Array

        (

            [0] => Array

                (

                    [file] => /client.php

                    [line] => 9

                    [function] => SoapClient

                    [class] => SoapClient

                    [type] => ->

                    [args] => Array

                        (

                            [0] => https://localhost:443/wsdl.php

                            [1] => Array

                                (

                                    [allow_self_signed] => 1

                                    [verify_peer] => 0

                                    [trace] => 1

                                    [exceptions] => 1

                                )



                        )



                )



        )



    [faultstring] => SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://localhost:443/wsdl.php'

    [faultcode] => WSDL

)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39283&edit=1

Reply via email to