Hi, i´m using PHP5 beta 3 and PEAR::SOAP within a test enviroment. I set up a client: <? ... $soap_client = &new SOAP_Client("http://localhost/SOAP/server.php"); $params = array("text" => "thats a new text"); $result = $soap_client->call('setText', $params, 'urn:HelloWorld'); ?> And a server.php: <? ... class HelloWorld { var $text; function HelloWorld($text = "HalloWelt") { $this->text = $text; } function getText() { return $this->text; } function setText($text) { $this->text = $text; return $this->getText(); } } $server = new SOAP_Server(); $hw_service = new HelloWorld; $server->addObjectMap($hw_service, 'urn:HelloWorld'); $server->service($HTTP_RAW_POST_DATA); exit(); ?> I get the correct answer from the server.php: Status: 200 OK Server: PEAR-SOAP 0.8.0RC2-devel Content-Type: text/xml; charset=UTF-8 Content-Length: 546 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:HelloWorld" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns4:setTextResponse> <return xsi:type="xsd:string">thats a new text</return></ns4:setTextResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> But the result shows a soap_fault with message: "XML error on line 1 col 1 byte 0 Empty document" Think the client doesnt extract the http-header from the server-response correctly. Does anyone have the same problem, or did i make a mistake somewhere ??? I know that there are some incompatibility issues in PHP5 PEAR::SOAP terms. Maybe thats the problem in this case. greets Jan -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php