note 123757 added to class.soapheader

From: Date: Mon, 08 Apr 2019 07:16:59 +0000
Subject: note 123757 added to class.soapheader
Groups: php.notes 
Request: Send a blank email to php-notes+get-210574@lists.php.net to get a copy of this message
If you want to create an soap header wihtout namespace and without an item key value setup, you can use SoapVar To get this: <SOAP-ENV:Header> <IdentityHeader> <SessionID>123456789</SessionID> </IdentityHeader> </SOAP-ENV:Header> you can use this php code: <?php $headerVar = new SoapVar('<IdentityHeader><SessionID>123456789</SessionID></IdentityHeader>', XSD_ANYXML); $header = new SoapHeader('http://tempuri.org/','RequestParams', $headerVar); ?> ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.194 (proxied: 217.103.163.110) ---- Manual Page -- http://php.net/manual/en/class.soapheader.php Edit -- https://master.php.net/note/edit/123757 Del: integrated -- https://master.php.net/note/delete/123757/integrated Del: useless -- https://master.php.net/note/delete/123757/useless Del: bad code -- https://master.php.net/note/delete/123757/bad+code Del: spam -- https://master.php.net/note/delete/123757/spam Del: non-english -- https://master.php.net/note/delete/123757/non-english Del: in docs -- https://master.php.net/note/delete/123757/in+docs Del: other reasons-- https://master.php.net/note/delete/123757 Reject -- https://master.php.net/note/reject/123757 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210574) next »