For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > January 2006 > #32410 [Com]: Documentation unclear for SoapHeader









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #32410 [Com]: Documentation unclear for SoapHeader
cat_lan at 163 dot com

2006-01-09, 8:02 pm

ID: 32410
Comment by: cat_lan at 163 dot com
Reported By: gehrig at ishd dot de
Status: Open
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:

Sorry, my english is poor, see code below:
-------------------------
function foo()
{
return new soapHeader(...);
}

soapServer::addFunction("foo");
--------------------------

---about the function name "foo":
..wsdl----------------------->|
<header message="..." part="foo" use="literal" />
post data------------------->|
<soap:Header><foo>........</foo></soap:Header>


Previous Comments:
------------------------------------------------------------------------

[2005-07-09 20:25:17] jplush76 at gmail dot com

I agree it would be nice to have more information here. Soap headers
are a big part of web services and the manual treats them as a glace
over

------------------------------------------------------------------------

[2005-04-03 11:59:57] gehrig at ishd dot de

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.

------------------------------------------------------------------------

[2005-04-03 00:50:18] david at mytton dot net

What part of the manual are you referencing and what kind of extra
information are you looking for?

------------------------------------------------------------------------

[2005-03-22 16:52:08] gehrig at ishd dot de

Description:
------------
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 there is no information on what a "SOAP header handler" is and how
to implement one.




------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=32410&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com