Timed out read from www.xignite.com

From: Date: Tue, 02 Sep 2008 14:30:24 +0000
Subject: Timed out read from www.xignite.com
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-6278@lists.php.net to get a copy of this message
Hi I have one question. When I make SOAP client I get this message "Timed out read from www.xignite.com ". What is the problem. The service works with PHP5 Soap extension. Code: require 'SOAP/Client.php'; $wsdl = new SOAP_WSDL('http://www.xignite.com/xMetals.asmx?wsdl'); $soapclient = $wsdl->getProxy(); $soapclient->setOpt('trace', 1); $param = array( 'Type' => "XAU", 'Currency' => "USD"); $headers = new SOAP_Header('Header', 'object', array('Username' => new SOAP_Value('Username', 'string', EMAIL), 'Password' => new SOAP_Value('Password', 'string', ''), 'Tracer' => new SOAP_Value('Tracer', 'string', '')) ); $soapclient->addHeader($headers); $ret = $soapclient->GetLastRealTimeMetalQuote("XAU", "USD"); if(PEAR::isError($ret)){ echo $ret->getMessage(); } Request generated: POST /xMetals.asmx HTTP/1.0 User-Agent: PEAR-SOAP 0.11.0-beta Host: www.xignite.com Content-Type: text/xml; charset=UTF-8 Content-Length: 762 SOAPAction: "http://www.xignite.com/services/GetLastRealTimeMetalQuote" Connection: close <?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="http://www.xignite.com/services/" > <SOAP-ENV:Header> <Header SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0"> <Username>emial@domain.pl</Username> <Password></Password> <Tracer></Tracer></Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns4:GetLastRealTimeMetalQuote> <ns4:Type>XAU</ns4:Type> <ns4:Currency>USD</ns4:Currency></ns4:GetLastRealTimeMetalQuote> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

« previous php.pear.webmaster (#6278) next »