0 Replies Latest reply on Mar 24, 2010 3:48 AM by ankur_shah32

    How to send pdf stream though php using Soap Protocol


      hi all


      i am reading file like this


      $myFile = "test123.txt";
      $fh = fopen($myFile, 'rb');
      $theData = fread($fh, filesize($myFile));


      converting  the pdf stream into base64 stream


      $data=base64_encode($theData );



      then sending it to my webservice but it doesent work.


      as it sends the file on the server but server doesent recognize the file type or u can say i cant open the file



      plz help me.