Hello,
Is there a way to access the SOAP request header from PHP 5 ext/SOAP SOAPServer? Maybe I'm missing something, but I do not see a way.
-Glen
Apologies, but I think I was a little terse with my initial problem description.
I have an Apache Axis Soap 1.1 client and WSDL for a WS-Eventing client implementation, and I am trying to develop a PHP SoapServer in WSDL mode, with classmap (mapped to PHP classes genned via XSL from the WSDL--which tankfully works). Everything's great except I don't see any clean way to get the SOAP <Header/> from within my *PHP* 5 SOAP Server, other than using $GLOBALS["PHP_RAW_POST_DATA"]. I ended up writing a PHP SAX parser class with appropriate callbacks to create associative array with keys and values which correspond to SOAP request header elements and their data, using $GLOBALS["PHP_RAW_POST_DATA"]. I was sort of expecting some sort of built-in server-side SoapRequestHeader. Does anything like this exist?
Maybe at this point I should admit that I haven't been doing PHP very long. Have a good day.
Sincerely,
Glen
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php