in reply to Re: Add custom return parms to SOAP::Transport::HTTP::Apache
in thread Add custom return parms to SOAP::Transport::HTTP::Apache

Well I tried that but unfortunately the XML to be returned is not actaully returned by the $self->SUPER::dispatch_to( ...  ) function but is print'ed somewhere deep in the SOAP::* modules. (I have not found out exactly where yet.)

So my options are kind-of limited. =(

--habit

Replies are listed 'Best First'.
Re: Re: Re: Add custom return parms to SOAP::Transport::HTTP::Apache
by Fletch (Bishop) on May 13, 2004 at 13:41 UTC

    Hrmm, looks like it's returned by SOAP::Transport::HTTP::Server by calling a coderef (look for $response_content_writer in SOAP::Transport::HTTP::Apache) which is passed to its handle_request method (which prints to an Apache instance obtained with Apache->request()). All of the class names are hardcoded so there's not really a clean way to subclass. What you're going to have to do is basically make your own version of S::T::H::Apache and modify the coderef to do the error mucking.