EDIT: THIS QUESTION IS INVALID SINCE THE SERVER I'M USING HAS SUDDENLY EXPIRED. PLEASE IGNORE
PHP SoapClient yeniyim, ve ben üç parametre geçirerek ve sonuç kapma tarafından bir PDF almak için çalışıyorum. İşte ben çalışıyorum WSDL dosyası (ben gerçekten bu bölümü üzerinde çok / herhangi bir kontrol yok) bulunuyor:
<!-- this WSDL file was automatically generated by 4D -->
<definitions name="A_WebService" targetNamespace="http://www.4d.com/namespace/default" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.4d.com/namespace/default" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<message name="WS_ME_StatementRequest">
<part name="FuneralHomeID" type="xsd:string"/>
<part name="Month" type="xsd:int"/>
<part name="Year" type="xsd:string"/>
</message>
<message name="WS_ME_StatementResponse">
<part name="StatementPDF" type="xsd:base64Binary"/>
</message>
<portType name="A_WebServiceRPC">
<operation name="WS_ME_Statement">
<input message="tns:WS_ME_StatementRequest"/>
<output message="tns:WS_ME_StatementResponse"/>
</operation>
</portType>
<binding name="A_WebServiceBinding" type="tns:A_WebServiceRPC">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
<operation name="WS_ME_Statement">
<documentation>Inputs: None
Outputs: text variable</documentation>
<soap:operation soapAction="A_WebService#WS_ME_Statement"/>
<input>
<soap:body use="encoded" namespace="http://www.4d.com/namespace/default" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://www.4d.com/namespace/default" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="A_WebService">
<documentation></documentation>
<port name="A_WebServicePort" binding="tns:A_WebServiceBinding">
<soap:address location="http://69.128.94.30:8080/4DSOAP/"/>
</port>
</service>
</definitions>
Ve burada ben şimdiye kadar sadece 404 adlı dönen hangi budur:
<?php
header("content-type: application/pdf");
$client = new SoapClient('http://69.128.94.30:8080/4DSOAP/');
$result = $client->WS_ME_StatementRequest(array('FuneralHomeID' => '0008-00', 'Month' => 11, 'Year' => "2008"));
$pdfdoc = $result->WS_ME_StatementResponse->StatementPDF;
print($pdfdoc);
Herhangi bir yanlış yapıyorum üzerinde fikir?