Re: working with SOAP header block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can access and manipulate SOAP headers in PEAR::SOAP using the
SOAP_Header API:
http://pear.php.net/package/SOAP/docs/0.9.1/SOAP/SOAP_Header.html

Regards,
Al

On Thu, 2005-07-28 at 01:40 -0400, Yaroslav wrote:
> 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?
> 

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux