Hmm... are you running a SoapObject against the hello_world-server or are you
just typing the hello_world-server.php in the browser directly/command line.
This is the output you should recieve if you aren't using a SoapObject to
access the server. Let me know if this helps
- Brad
--- Jean-Charles Preaux <jc....@wa...> wrote:
> 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 :
> <!--
> <?xml version="1.0" encoding="UTF-8" ?>
> - <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <SOAP-ENV:Body>
> - <SOAP-ENV:Fault xsi:type="SOAP-ENC:Struct">
> <faultstring xsi:type="xsd:string">PHP-SOAP requires
> 'always_populate_raw_post_data' to be on please check your php.ini
> file</faultstring>
> <faultcode xsi:type="xsd:string">SOAP-ENV:Server</faultcode>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> -->
> then i create a php.ini with :
> always_populate_raw_post_data = 1
> but the new output is :
> <!--
> <?xml version="1.0" encoding="UTF-8" ?>
> - <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <SOAP-ENV:Body>
> - <SOAP-ENV:Fault xsi:type="SOAP-ENC:Struct">
> <faultstring xsi:type="xsd:string">Couln't find
> HTTP_RAW_POST_DATA</faultstring>
> <faultcode xsi:type="xsd:string">SOAP-ENV:Server</faultcode>
> </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
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
|