note 116942 added to soapclient.setsoapheaders
| From: | jasirec at gmail dot com | Date: | Wed, 25 Mar 2015 10:26:42 +0000 |
| Subject: | note 116942 added to soapclient.setsoapheaders | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202028@lists.php.net to get a copy of this message | ||
<soap:Header>
<SoapHeaderIn xmlns="http://adpolice.gov.ae/TrafficInsurance/TrafficInsuranceServices.asmx">
<userName>string</userName>
<Password>string</Password>
</SoapHeaderIn>
</soap:Header>
<soap:Body>
<VerifyInsuranceCompany xmlns="http://adpolice.gov.ae/TrafficInsurance/TrafficInsuranceServices.asmx">
<companyCode>long</companyCode>
</VerifyInsuranceCompany>
</soap:Body>
</soap:Envelope>
And i am using like,
$ns = 'https://es.adpolice.gov.ae/TrafficInsurance/TrafficInsuranceServicesNew.asmx?wsdl';
//Namespace of the WS.
$uname = "";
$password = "";
$headerbody = array('userName'=>$uname,'Password'=>$password);
$header = new SOAPHeader($ns, 'SoapHeaderIn ', $headerbody);
How can i countinue...i want to get company code..plz help me
----
Server IP: 72.52.91.14
Probable Submitter: 83.110.202.152
----
Manual Page -- http://php.net/manual/en/soapclient.setsoapheaders.php
Edit -- https://master.php.net/note/edit/116942
Del: integrated -- https://master.php.net/note/delete/116942/integrated
Del: useless -- https://master.php.net/note/delete/116942/useless
Del: bad code -- https://master.php.net/note/delete/116942/bad+code
Del: spam -- https://master.php.net/note/delete/116942/spam
Del: non-english -- https://master.php.net/note/delete/116942/non-english
Del: in docs -- https://master.php.net/note/delete/116942/in+docs
Del: other reasons-- https://master.php.net/note/delete/116942
Reject -- https://master.php.net/note/reject/116942
Search -- https://master.php.net/manage/user-notes.php