|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-03-22 16:52 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 18:00:02 2025 UTC |
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>I also miss information about this in the doc: If the header part "Example" has use="literal" the function with the same name ("Example") will be executed on the SoapServer. But: a) With use="encoded" nothing gets executed. This drove me crazy and should be mentioned on documentation. b) The function "Example" does not receive arguments. So, how you are supposed to process the header? I'm still trying to solve this.