[PHP-SOAP-DEV] 'always_populate_raw_post_data' question
Status: Alpha
Brought to you by:
rodif_bl
From: Jean-Charles P. <jc....@wa...> - 2002-05-02 11:22:29
|
Hello i try today to use PHP-SOAP extension. it compiled well (i use php-4.2.0 and apache-1.3.24, libxml2-2.4.19, = expat-1.95.2, Sablot-0.90) i try the "hello world-server.php" script and the output is :=20 <!-- <?xml version=3D"1.0" encoding=3D"UTF-8" ?>=20 - <SOAP-ENV:Envelope = xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/" = SOAP-ENV:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> - <SOAP-ENV:Body> - <SOAP-ENV:Fault xsi:type=3D"SOAP-ENC:Struct"> <faultstring xsi:type=3D"xsd:string">PHP-SOAP requires = 'always_populate_raw_post_data' to be on please check your php.ini = file</faultstring>=20 <faultcode xsi:type=3D"xsd:string">SOAP-ENV:Server</faultcode>=20 </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --> then i create a php.ini with : always_populate_raw_post_data =3D 1 but the new output is :=20 <!-- <?xml version=3D"1.0" encoding=3D"UTF-8" ?>=20 - <SOAP-ENV:Envelope = xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/" = SOAP-ENV:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> - <SOAP-ENV:Body> - <SOAP-ENV:Fault xsi:type=3D"SOAP-ENC:Struct"> <faultstring xsi:type=3D"xsd:string">Couln't find = HTTP_RAW_POST_DATA</faultstring>=20 <faultcode xsi:type=3D"xsd:string">SOAP-ENV:Server</faultcode>=20 </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --> i don't understand , have i made a mistake ? thanks Jean-Charles Preaux http://analogx.dyndns.org |