Re: #32410 [Opn]: Documentation unclear for SoapHeader
IMHO, the more (consistant) examples we have, the more we help our readers.
Feel free to add the example :)
Mehdi
David Mytton wrote:
> Is this really a valid bug? Is it down to the doc writers to provide
> examples for something like this?
>
> David
>
> gehrig at ishd dot de wrote:
>
>> ID: 32410
>> User updated by: gehrig at ishd dot de
>> Reported By: gehrig at ishd dot de
>> Status: Open
>> Bug Type: Documentation problem
>> Operating System: Linux
>> PHP Version: 5.0.3
>> New Comment:
>>
>> On http://www.php3.de/soap there is a section headed
>> "SoapHeader". In
>> this section the manual states: "SoapHeader is a special low-level
>> class for passing or returning SOAP
>> headers. It's just a data holder and it does not have any special
>> methods except its constructor. It can be used in the
>> SoapClient->__soapCall() method to pass a SOAP header or in a SOAP
>> header handler to return the header in a SOAP response."
>>
>> But it doesn't mention how to implement a, what it calls, "SOAP header
>> handler". I'd like to receive a header in a SOAP request to a
>> PhP5-SOAP-server (which is no problem at all) and I'd like to send back
>> a header in the SOAP response from this server - but I have no clue how
>> to do this.
>>
Thread (16 messages)