From:             jerome at rainstormconsulting dot com
Operating system: linux (centos or ubuntu)
PHP version:      5.2.2
PHP Bug Type:     HTTP related
Bug description:  HTTP_RAW_POST_DATA fails to ever be set

Description:
------------
PHP 5.2.2 fails to ever have $HTTP_RAW_POST_DATA set despite the ini
setting to being On

Reproduce code:
---------------
Server:
<?php
$server = new SoapServer('myservice.wsdl');
$server->setClass('MyService');
$server->handle();

client:
<?php
$client = new SoapClient('myservice.wsdl', array('trace' => 1,
'exceptions' => 1));
try {
    $client->doSomething();
}
catch(SoapFault $e) {
    print 'Service failure, error message: '.$e->faultstring;
}

Expected result:
----------------
This should proceed with no problems, an already working service setup in
a web application, functioning on both PHP 5.1.6 and PHP 5.2.1 with no
issues at all.  Should produce no error.

Actual result:
--------------
Service failure, error message: Bad Request. Can't find
HTTP_RAW_POST_DATA

You USUALLY only see this if you access the server file (say xmlrpc.php)
directly without posting any data. 

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

Reply via email to