为什么这样:
$a = 'val1';
$b = 'val2';
$client->__soapCall('Request', array( new SoapParam($a, "Par1"),
new SoapParam($b, "Par2") ));
只返回这个?:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://domain.wsdl" xmlns:ns1="https://domain.wsdl">
<SOAP-ENV:Body>
<ns1:Request/>
<Par1>val2</Par1>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
我希望在Request中有2个pars和Par1 / Par2。