ID:               49226
 Comment by:       petro at eps1lon dot com
 Reported By:      richard at rjharrison dot org
 Status:           Feedback
 Bug Type:         SOAP related
 Operating System: linux
 PHP Version:      5.3.0
 New Comment:

That should be 5.3.1RC1.


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

[2009-10-07 16:25:01] petro at eps1lon dot com

I was having the same problem with SoapClient under 5.3.0.  It is
working fine under 5.3.RC1.

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

[2009-10-01 11:37:09] sjo...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

[2009-09-30 18:26:54] sjo...@php.net

Evrard mailed me a HTTP trace, which I put here:
http://pastebin.com/f25b554f9

I could reproduce this with PHP 5.3, not PHP 5.3-HEAD, so this may have
already been fixed in trunk.

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

[2009-09-23 09:13:56] evrard at h2a dot lu

For everybody that are looking for a little fix for that, force
SoapClient to send an HTTP 1.0 request and your script may run again. It
is working for me with PHP 5.3.0, ZEND 1.9 (minimal package, via PEAR)
and APACHE 2.2.12 on Windows XP.

<?php

try
{
       $context = stream_context_create( array(
         'http' => array(
           'protocol_version'=> '1.0' ,
           'header'=> 'Content-Type: text/xml;' ,
         ),
       ) );

       $options = array(
         'stream_context' => $context ,
       );

       $client = new SoapClient( 'http://myserver/path?wsdl' , $options
);
}
catch( Exception $e )
{
  // You should not be here anymore
}
?>

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

[2009-09-01 08:07:04] sjo...@php.net

Bug #49397 describes the same problem, but with SoapClient.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49226

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

Reply via email to