2017-12-11 5 views

答えて

0

SoapServerにはgetLastRequestHeadersまたはgetLastRequestの機能がありません。

あなたが新しいのSoapClientを作成すると、パラメータとしてtraceを追加します。

$soap = new SoapClient($$wsdl, array('trace' => true); 

次にあなたが使用することができます。

print_r($soap->__getLastRequest()); 
print_r($soap->__getLastRequestHeaders()); 
print_r($soap->__getLastResponse()); 
print_r($soap->__getLastResponseHeaders()); 
関連する問題