[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Make Soap Body tag self closing?
From: yermej <yermej () gmail ! com>
Date: 2008-03-31 23:55:09
Message-ID: 31d3c20c-266c-4650-81e2-ecf19325b44c () c19g2000prf ! googlegroups ! com
[Download RAW message or body]
On Mar 31, 6:51 pm, yermej <yer...@gmail.com> wrote:
> On Mar 31, 4:12 pm, jammendolia <jammendo...@gmail.com> wrote:
>
>
>
> > > A hack: take the final XML and do a string substitution.
>
> > > final_xml.sub!( '<soap:Body></soap:Body>', '<soap:Body/>')
>
> > Thanks for the reply James!
>
> > I had thought of using this approach, and I'm completely open to it,
> > my problem is that I'm not sure where I can intercept the request to
> > make this change. I need to hook in somewhere after it's been
> > generated but before it's sent across the wire.
>
> > Any suggestions?
>
> > Thanks again,
>
> > Joe
>
> I'm not positive, but I think you could implement James's idea in
> SOAP::RPC::Proxy#marshal (in /usr/lib/ruby/1.8/soap/rpc/proxy.rb
> here).
Sorry. That should be SOAP::RPC::Proxy::Operation#marshal.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic