Soap Call Error

From: Date: Thu, 17 Jul 2008 00:44:55 +0000
Subject: Soap Call Error
Groups: php.general 
Request: Send a blank email to php-general+get-276943@lists.php.net to get a copy of this message
Hello Guys, I have been getting a wierd soap exception lately [faultstring] => looks like we got no XML document [faultcode] => Client [faultcodens] => http://schemas.xmlsoap.org/soap/envelope/ What does that mean? The call gets properly called and it does what it needs to do, but the response xml is always a $fault? Did anyone have this problem? I am using php 5.2.6 for the info. and below is my method... private function createThread($userID, $applianceTitle, $applianceDetails_link){ // Define Client try { $client = new SoapClient($this->createThreadWSDL, array("trace" => 1 )); } catch(SoapFault $fault) { return ""; } // Define Input array $params = array( 'subject'=> $applianceTitle, 'body' => $applianceDetails_link, 'communityID' => $this->parentCommunityID, 'userID' => $userID ); //Make the Call try { $result = $client->__soapCall('createThread', array('parameters'=>$params), NULL, $this->header); return $result; } catch (SoapFault $fault){ return $fault; } } Thanks

« previous php.general (#276943) next »