I've tried to figure out what's going, tried searching Google and also
asked another Ruby developer, but neither of us have a clue why it's
doing this.
Can anybody point me in the right direction?
Cheers,
Jon
PS: This is the first application I've written in Ruby.. so don't
discount obvious solutions
I'm trying to implement a SOAP client using the native Ruby SOAP
client library. Here's the relevant bit of code:
For some reason, this is sending XML with two XML declarations! Here
is what it is sending:
What version of soap4r are you using? The versions from
soap4r-1.5.5.20070519 to soap4r-1.5.5.20070605 try to call 'to_xml'
method of parameters. Later versions try to call 'to_xmlpart' instead
of 'to_xml'. Just updating soap4r should solve the problem.
Yay! I updated all my gems ("gem update") including soap4r, restarted
the server and voila! Correct XML and it's all working again
Thanks for your help!
Cheers,
Jon
···
On Jun 18, 3:34 pm, "NAKAMURA, Hiroshi" <nakah...@sarion.co.jp> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
r...@orangejon.com wrote:
> I'm trying to implement a SOAP client using the native Ruby SOAP
> client library. Here's the relevant bit of code:
> For some reason, this is sending XML with two XML declarations! Here
> is what it is sending:
What version of soap4r are you using? The versions from
soap4r-1.5.5.20070519 to soap4r-1.5.5.20070605 try to call 'to_xml'
method of parameters. Later versions try to call 'to_xmlpart' instead
of 'to_xml'. Just updating soap4r should solve the problem.