Re: [SOAP] working with SOAP header block

From: Date: Mon, 01 Aug 2005 08:49:29 +0000
Subject: Re: [SOAP] working with SOAP header block
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1966@lists.php.net to get a copy of this message
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? >

« previous php.soap (#1966) next »