SOAP Persistence with RPC encoding
| From: | Harlan Iverson | Date: | Thu, 02 Feb 2006 21:50:50 +0000 |
| Subject: | SOAP Persistence with RPC encoding | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2113@lists.php.net to get a copy of this message | ||
Hello,
I am trying to implement a SOAP header based session ID that is compatible with Apache Axis' SimpleSessionHandler. I want to add a soap:header to each operation in my binding; the specific issue is that I can't figure out how to use SOAP headers with RPC encoding.
I've managed to hack together a small, but working, example of using SOAP headers with literal encoding, which is derived from the tests in the SOAP extension source (attached).
My attempts to convert it to RPC result in segmentation faults, and the only examples of RPC encoding with headers I can find (namely T57.phpt) use references, which I'm not sure how to fix.
Thanks,
Harlan Iverson