function ImagesToPdfConvert() { if ($this->outputPdfLocation == "") { return "Please specify location to save output Pdf"; } if ($this->inputTextLocation == "") { return "Please specify input Word file Location"; } else { $tab = array(); array_push($tab, "http://dg50.mycdn.me/getImage?photoId=580350630578&photoType=0"); array_push($tab, "http://dg50.mycdn.me/getImage?photoId=580337197234&photoType=0"); $parameters = array('input_path' => $this->inputimagesLocation); $wsdl = "http://pdfconverter.srochno.am/pdfconvertor.svc?wsdl"; $endpoint = "http://pdfconverter.srochno.am/pdfconvertor.svc"; $client = new SoapClient($wsdl); $result = $client->ImagestoPDF($parameters); return array("http://pdfconverter.srochno.am/OldFile/" . $result->ImagestoPDFResult, $result->ImagestoPDFResult); } }