Re: Persistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux