working with SOAP header block

From: Date: Thu, 28 Jul 2005 05:28:14 +0000
Subject: working with SOAP header block
Groups: php.soap 
Request: Send a blank email to php-soap+get-1965@lists.php.net to get a copy of this message
Hi! I need to send SOAP-messages from client to server with certian SOAP structure like following: <?xml version="1.0" encoding="Windows-1251"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <m:query xmlns:m="http://localhost/queries" env:role="http://www.w3.org/2003/05/soap-envelope/role/next" env:mustUnderstand="true"> <m:queryId>11111</m:queryId> <m:documentType>1</m:documentType> <m:expiry>10/10/2005</m:expiry> </m:query> </env:Header> <env:Body> ... </env:Body> </env:Envelope> 1) I get this message as a text file. How could I send it comletely to SOAP-server? 2) How colud I parse/read SOAP-headers in SOAP-server side?

« previous php.soap (#1965) next »