Soap Call Error

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

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux