|
HTTP_RAW_POST_DATA Strangeness: msg#00073php.nusoap.general
Hello, I am having a strange problem that seems to be based on a setting in php.ini: always_populate_raw_post_data=On vs Off If this value is not set to On (which I have no control over at a shared hosting server) the following code will produce a valid WSDL, but when the service is called it faults with 'xml was empty, didn't parse'. Works if always_populate_raw_post_data=On: $server->service($HTTP_RAW_POST_DATA); Generates correct WSDL for service.php?wsdl: $server->service($_POST); // generates above fault when called though Only way it works with =Off: $HTTP_RAW_POST_DATA = @$HTTP_RAW_POST_DATA ? $HTTP_RAW_POST_DATA : $_POST; $server->service($HTTP_RAW_POST_DATA); I can't see where the service($data) would care where the $data came from in nusoap.php (nor anywhere else $HTTP_RAW_POST_DATA is referenced). This is with latest CVS nusoap.php v 1.72, John ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: NuSOAP and SSL: 00073, Chris Boget |
|---|---|
| Next by Date: | Re: NuSOAP and SSL: 00073, Scott Nichol |
| Previous by Thread: | NuSOAP and SSLi: 00073, Chris Boget |
| Next by Thread: | Re: HTTP_RAW_POST_DATA Strangeness: 00073, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |