这样做是否有效?
$result = $client->Price('Circuits',
array(
'Circuit' => array(
'_' => array(
'Loop' => array(
'_' => '',
'npanxx' => '212255'
),
'Address' => array(
'_' => '',
'street' => '111 8 AV FLR 1',
'city' => 'MANHATTAN',
'state' => 'NY',
'postal-code' => '10011'
)
),
'product' => 'Dedicated Voice',
'port-billing-type' => 'flat',
'term' => '1-Year',
'bandwidth' => 'DS-3'
)
));
这个
'_'
似乎没有文件,但可行。如果不起作用,请尝试以下评论:
http://www.php.net/manual/en/soapvar.soapvar.php
.