RE: [PEAR] SOAP Client addHeader Problem

From: Date: Fri, 23 Jan 2004 14:53:01 +0000
Subject: RE: [PEAR] SOAP Client addHeader Problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10333@lists.php.net to get a copy of this message
> -----Original Message----- > From: Martin Hesse [mailto:mh@netcar24.com] > > I want to include a SOAP_Header with every request sent > to the server. > I am using the addHeader-method of my SOAP_Client. This works > great for > the very first call but then on a second call the header is not sent > again. To my understanding, the SOAP_Header should be > included in every > call made by the client and not just the first one. > > $client = new SOAP_Client(); > $header = new SOAP_Header(); > $client->addHeader($header); > > $client->call(....); // Header is sent > $client->call(....); // Header is not sent ???? I have exactly the same problem. Its surely a bug? Somebody sent an amendment to the SOAP package code on the soap mailing list a while back. I never had time to check if this fixed the issue, it would still be better if it was released offically though to help ease with PEAR deployment on other servers. Regards, Mike C.

« previous php.pear.general (#10333) next »