working with SOAP header block
| From: | (Yaroslav) | Date: | Thu, 28 Jul 2005 05:40:41 +0000 |
| Subject: | working with SOAP header block | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1964@lists.php.net to get a copy of this message | ||
Hi!
I need to send SOAP-messages from client to server with certian SOAP=20 structure like following:
<?xml version=3D"1.0" encoding=3D"Windows-1251"?> <env:Envelope xmlns:env=3D"http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<m:query xmlns:m=3D"http://localhost/queries"=20
env:role=3D"http://www.w3.org/2003/05/soap-envelope/role/next"=20
env:mustUnderstand=3D"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=20 SOAP-server?
2) How colud I parse/read SOAP-headers in SOAP-server side?