SOAP problem with empty getLastResponse()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please for help with my problem. I was searching almost everywhere, but with
no effect.

My source code (ofcourse hashcode is different)

$request = "<?xml version=\"1.0\" encoding=\"utf-8\"?> 
<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\";
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\";
xmlnsoap=\"http://schemas.xmlsoap.org/soap/envelope/\";> 
<soap:Body> 
<GetCategories xmlns=\"http://tempuri.org/GetCategories\";> 
<HashCode>*********</HashCode> 
</GetCategories> 
</soap:Body> 
</soap:Envelope>"; 
$url =
"http://www.logofun.cz/LogofunContentService/logofuncontentsvce.asmx?WSDL";; 
$action = "http://tempuri.org/GetCategories";; 
$version = SOAP_1_1; 

$client = new
SoapClient("http://www.logofun.cz/LogofunContentService/logofuncontentsvce.asmx?WSDL";,
array('trace' => 1)); 

$result = $client->__doRequest($request,$url,$action,$version); 

echo "<br/>header : ".$client->__getLastResponseHeaders(); 

echo "<br/> response : ".$client->__getLastResponse(); 


header i get : HTTP/1.1 200 OK Date: Tue, 31 Jul 2007 08:19:04 GMT Server:
Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0 Content-Type: text/xml; charset=utf-8
Content-Length: 299 

but content of response is empty, does anyone know where could mistake ?
-- 
View this message in context: http://www.nabble.com/SOAP-problem-with-empty-getLastResponse%28%29-tf4191903.html#a11921010
Sent from the Php - Soap mailing list archive at Nabble.com.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux