#39094 [NEW]: Soap client on https

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #39094 [NEW]: Soap client on https

    From: webmaster at realtime dot ro
    Operating system: Linux 2.6.15.3
    PHP version: 5.2.0RC5
    PHP Bug Type: SOAP related
    Bug description: Soap client on https

    Description:
    ------------
    I am trying to establish a PHP SOAP SSL connection but i can't.
    the soap server and the soap client are both in php5.
    if i try same script with http it works.


    Reproduce code:
    ---------------
    <?

    define('SOAP_WSDL','https://[domain]/soap/soapOI.wsdl');
    $SOAP_optionsArr = array('classmap' => array(),
    "trace" => 1,
    "exceptions" => 1, 'allow_self_signed' => true, 'verify_peer'
    => false, "login"=>'xxx', "password"=>'yyy',
    );
    $client = new SoapClient(SOAP_WSDL,$SOAP_optionsArr); //error line
    $response= $client->getVersion();
    ?>

    Expected result:
    ----------------
    version of the soap server: 1.0

    Actual result:
    --------------
    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
    WSDL: Couldn't load from 'https://[domain]/soap/soapOI.wsdl' in
    /web/www/htdocs/info.php:16 Stack trace: #0 /web/www/htdocs/info.php(16):
    SoapClient->__construct('https://www.ofe...', Array) #1 {main} thrown in
    /web/www/htdocs/info.php on line 16

    --
    Edit bug report at [url]http://bugs.php.net/?id=39094&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39094&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39094&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=39094&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=39094&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39094&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=39094&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=39094&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=39094&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=39094&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=39094&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=39094&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39094&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=39094&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=39094&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39094&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=39094&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39094&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39094&r=mysqlcfg[/url]
    webmaster at realtime dot ro Guest

  2. Similar Questions and Discussions

    1. #31050 [Com]: SOAP class will not parse WSDL file located on a secure HTTPS connection
      ID: 31050 Comment by: youngad6 at gmail dot com Reported By: dylanwoster at mac dot com Status: No Feedback...
    2. client-to-client communication via SOAP
      I am in the intial stage of architecting and building an application in which each client running the application will occasionally send a set of...
    3. Writing a HTML/ASP SOAP client for a SOAP::Lite destination
      How would I go about writing a SOAP client in either HTML or classic asp? The SOAP "listener" was written in Perl with SOAP::Lite in Unix and I am...
    4. Trouble with Pear Soap and HTTPS
      I'm having the exact same problem. Worked fine in the test enviroment. But once I moved on to the the production server I get the same type of...
    5. SOAP Client creation in ASP.NET using MS SOAP Toolkit
      how would I create a SOAP client in ASP.Net? The following code just works fine in VB: Dim lobjSOAP As New MSSOAPLib30.SoapClient30...
  3. #2

    Default #39094 [Opn->Fbk]: Soap client on https

    ID: 39094
    Updated by: [email]iliaa@php.net[/email]
    Reported By: webmaster at realtime dot ro
    -Status: Open
    +Status: Feedback
    Bug Type: SOAP related
    Operating System: Linux 2.6.15.3
    PHP Version: 5.2.0RC5
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]




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

    [2006-10-09 14:00:50] webmaster at realtime dot ro

    Description:
    ------------
    I am trying to establish a PHP SOAP SSL connection but i can't.
    the soap server and the soap client are both in php5.
    if i try same script with http it works.


    Reproduce code:
    ---------------
    <?

    define('SOAP_WSDL','https://[domain]/soap/soapOI.wsdl');
    $SOAP_optionsArr = array('classmap' => array(),
    "trace" => 1,
    "exceptions" => 1, 'allow_self_signed' =>
    true, 'verify_peer' => false, "login"=>'xxx',
    "password"=>'yyy',
    );
    $client = new SoapClient(SOAP_WSDL,$SOAP_optionsArr); //error line
    $response= $client->getVersion();
    ?>

    Expected result:
    ----------------
    version of the soap server: 1.0

    Actual result:
    --------------
    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
    WSDL: Couldn't load from 'https://[domain]/soap/soapOI.wsdl' in
    /web/www/htdocs/info.php:16 Stack trace: #0
    /web/www/htdocs/info.php(16):
    SoapClient->__construct('https://www.ofe...', Array) #1 {main} thrown
    in /web/www/htdocs/info.php on line 16


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39094&edit=1[/url]
    iliaa@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139