On 16 Jul, 05:29, Matthew Peters <[EMAIL PROTECTED]> wrote: > Rob, thank you very much for your investigations. You suggested > earlier that it might be possible to change the soap binding so that > it passes the info in on the handle() call. Presumably this would work > in all cases without needing to rely on how php was built?
Matthew, That is correct. If a SOAP request is passed to the handle() method, the server will use that rather than trying to pull it from the POST context. Nice thing about this is that it allows the server to be tested and debugged under CLI. It could also be used to grab a request that might be stored in a message queue for later processing, processed and then acted upon (maybe pushing the boundaries of the language itself, but very doable). Anyways, as long as you can extract the soap request (i.e. from $HTTP_RAW_POST_DATA, php://input or some other source) you can pass it as a string to handle(). It might be a good idea to have the binding work the same way - allow data to be passed, in which case it would pass it to the handle() method; otherwise it doesn't pass anything and the SOAP server acts in the same manner as it does now. Caroline, Thanks for pointing that out. I had forgotten that it was tested there. Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---