PoCo::Client::SOAP?
While there is a very useful PoCo::Server::SOAP, there isn't a PoCo::Client::SOAP module on CPAN. Reading the guts of SOAP::Lite and SOAP::Transport::HTTP::Client, it becomes pretty clear why. The send_receive() call needs to be broken in half to work with POE's state model. And SOAP::Transport expects that call to return!
Essentially, I need to start in the POE context, run some code I don't have control over, have it run some code I do have control over, which jumps back to the POE context. Then, at some other point in the POE code (when the HTTP response comes back from, say, PoCo::Client::HTTP), I return to the place I left off in a SOAP::Transport with the newly returned HTTP::Response object, and the call returns.
Yeek! But it may be possible with signals, and in particular with POE's kinda fake signals. It would be nice to have this class without totally rewriting SOAP::Lite.