Re: Persistance
| From: | Sören Fuhrmann | Date: | Mon, 20 Oct 2003 16:14:52 +0000 |
| Subject: | Re: Persistance | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1126@lists.php.net to get a copy of this message | ||
Hello,
Will Green schrieb:
About 3 months ago, someone posted to the list that they wanted their client to do something like: $c->setKey( 'abc123' ); $key = $c->getKey(); Could this not just as easily be accomplished by sending the key in a SOAP header, having the SOAP server handle that header by setting it as an instance variable of the server-side object, then answering the request in the SOAP body?That is exactly the way I managed my LicenseKey-Topic now. When I asked for persistence with SOAP-Calls, I didn't know, that SOAP-Headers could be used. That simplyfies my API-calls, since I won't have to pass every 'global' parameter to each method. So there is no need for SOAP-managed server-side persistence for me anymore. Thanks to Michele Manzato for the Documentation, which was very useful for my SOAP-Headers :) Sören