开发者

How to put value between two tag in xml request using nusoap?

开发者 https://www.devze.com 2023-01-23 03:22 出处:网络
$param=array(\'EVRN_UnitResRQ\', \'Customer\'=>array(\'PersonName\'=>array(\'GivenName\'=>\'Ryan\',\'Surname\'=>\'Trayers\'),\'Telephone\'=>array(\'PhoneTechType\'=>\'1\',\'CountryAc
$param=array('EVRN_UnitResRQ',
'Customer'=>array('PersonName'=>array('GivenName'=>'Ryan','Surname'=>'Trayers'),'Telephone'=>array('PhoneTechType'=>'1','CountryAccessCode'=>'1','AreaCityCode'=开发者_开发百科>'206','PhoneNumber'=>'8320246'),'Email'=>array('DefaultInd'=>true),)))) )),

This is my sample array in this i want to put or assign value of email like <email>example@test.com</email>, How can i assign that. i am using nusoap web service i pass array as argument in soap client.


$param=array(
 'EVRN_UnitResRQ', 
 'Customer'=>array(
 'PersonName'=> array('GivenName'=>'Ryan','Surname'=>'Trayers'),
 'Telephone'=>array(
   'PhoneTechType'=>'1',
   'CountryAccessCode'=>'1',
   'AreaCityCode'=>'206',
   'PhoneNumber'=>'8320246'),
 'Email'=>array('DefaultInd'=>true),)))))),

assigment: $param['Email'] ='test@example.com';

0

精彩评论

暂无评论...
验证码 换一张
取 消