我正在使用<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<div class="form-group">
<div class="input-group">
<input class="form-control" maxlength="255" placeholder="Amount" name="amount" type="text" value="" id="amount">
<span class="input-group-addon financing">€</span>
</div>
</div>
创建SoapClient
,结果还可以,但trace=1
无论如何都是空的
__getLastRequest()
php 7.0
答案 0 :(得分:0)
$c = new \SoapClient($url, ['trace' => 1]);
$result = $c->__soapCall('some_method_name', []);
$lr = $c->__getLastRequest();
echo "REQUEST:\n" . $lr . "\n";
试试吧......