为什么我的参数 p_oRSMasterFields 不会出现在请求中?这个请求是从soap服务器发回的,是不是服务器拒绝了那个特定参数的数据,只是把它清空了?
$client = new SoapClient($wsdl, $options);
$client->UpdateCustMaster(array('p_iCompanyID' => 100,
'p_lAccountNum' => 18087,
'p_sSysUser' => 'WebTest',
'p_oRSMasterFields' => 'THIS IS A TEST',
'p_lErrorCode' => 0
));
echo "REQUEST:\n" . $client->__getLastRequest() . "\n";
REQUEST:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.acme.com/">
<SOAP-ENV:Body>
<ns1:UpdateCustMaster>
<ns1:p_iCompanyID>100</ns1:p_iCompanyID>
<ns1:p_lAccountNum>18087</ns1:p_lAccountNum>
<ns1:p_sSysUser>WebTest</ns1:p_sSysUser>
<ns1:p_oRSMasterFields/>
<ns1:p_lErrorCode>0</ns1:p_lErrorCode>
</ns1:UpdateCustMaster>
</SOAP-ENV:Body>