Http Error Socket Read Of Headers Timed Out Nusoap Php
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up nusoap error : HTTP Error: socket read of headers timed out up vote 0 down vote favorite i need a help i have a problem in using nusoap for PHP when client want to access service in server the error is : HTTP Error: socket read of headers timed out this is my XML can be accessed at [http://sobath-market.com/index.wsdl.php?wsdl][1] can someone help me?? thanks php web-services wsdl nusoap share|improve this question asked Jul 18 '14 at 23:34 Hans 224518 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Hi this error often occurs for a new user who using nusoap , as the default response time has been to 30 seconds. As of your request exceeds more than this execution time, you are getting this error, to fix this issue change the following code in "nusoap.php" in your nusoap library socket_set_timeout( $this->fp, $response_timeout); to socket_set_timeout( $this->fp, 200); i hope you got the expected solution from this. share|improve this answer edited Oct 30 '14 at 14:17 oopbase 5,94372955 answered Oct 30 '14 at 14:00 Jayachandran Murugesh 975 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php web-services wsdl nusoap or ask your own questi
NuSOAP - SOAP Toolkit for PHP Brought to you by: dietricha, snichol Summary Files Reviews Support Wiki News Discussion Code Mailing Lists Create Topic Stats Graph Forums Help 593 Open Discussion 91 Help Formatting Help HTTP Error: socket read of headers timed out Forum: Help Creator: Ilija Stevcev Created: 2009-05-14 Updated: 2013-06-06 Ilija Stevcev - 2009-05-14 Hey guys, I was hoping you could help me with a http://stackoverflow.com/questions/24835223/nusoap-error-http-error-socket-read-of-headers-timed-out problem I haven't been able to fix. I am trying to use nusoap to make a call to a WCF service. I keep getting the "HTTP Error: socket read of headers timed out" error though. Here's the code: '; $password = 'Constructor error
' . $err . '
'; } $authparam = array('AccountID' => $accountID, 'Password' => $password); $deliveryclient->call('Authenticate', array('parameters' => $authparam), 'http://BlueSkyFactory.Publicaster7.Public.API', 'http://BlueSkyFactory.Publicaster7.Public.API/IDelivery/Authenticate', false, false, 'document', 'literal'); $recipients_data = "email\tfirstname\tlastname\nilijas@blueskyfactory.com\tilija\tstevcev"; $sendData = array('RecipientsData' => $recipients_data, 'Recipients' => null, 'ContentID' => 1, 'FromID' => 1, 'Subject' => 'Testing API PHP', 'XHeaders' => null); $param = array('SendData' => $sendData); $result = $deliveryclient->call('QuickSend', array('parameters' => $param), 'http://BlueSkyFactory.Publicaster7.Public.API', 'http://BlueSkyFactory.Publicaster7.Public.API/IDelivery/QuickSend', false, false, 'document', 'literal'); if ($deliveryclient->fault) { echo 'Fault
'; print_r($result); echo '
'; } else { // Check for errors $err = $deliveryclient->getError(); if ($err) { // Display the error echo 'Error
' . $err . '
'; } else { // Display the result echo 'Result
'; print_r($result); echo '
'; } } echo 'Request
' . htmlspecialchars($deliveryclient->request, ENT_QUOTES) . '
'; echo 'Respo
this error before? Any help http error is greatly appreciated.requestPOST /vtigercrmdemo/vtigerservice.php?service=customerportal HTTP/1.0User-Agent: NuSOAP/0.6.7 (1.1)Host: www.mydomain.comContent-Type: text/xml; charset=ISO-8859-1SOAPAction: "http://www.mydomain.com/vtigercrmdemo"Content-Length: 667