note 100475 modified in soapheader.soapheader by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 Oct 2010 20:31:15 +0000 |
| Subject: | note 100475 modified in soapheader.soapheader by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173256@lists.php.net to get a copy of this message | ||
Just for you to know, when trying to get header -using SOAP- input you should do this:
<?php
//SOAP Server class constructor
$xml = file_get_contents('php://input');
/*
In $xml you'll have all the XML input and then with a simple Regexp you can get Usr & Pass
when you need to validate a Web Service using SOAP
*/
?>
Hope it helps someone as it helped me :D
--was--
Just for you to know, when trying to get header -using SOAP- input you should do this:
<?
//SOAP Server class constructor
$xml = file_get_contents('php://input');
/*
In $xml you'll have all the XML input and then with a simple Regexp you can get Usr & Pass
when you need to validate a Web Service using SOAP
*/
?>
Hope it helps someone as it helped me :D
http://php.net/manual/en/soapheader.soapheader.php