ruby@orangejon.com
6/19/2007 1:15:00 AM
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.
>
> Regards,
> // NaHi
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (Cygwin)
>
> iQEVAwUBRnaJuh9L2jg5EEGlAQIQVAf/TsfXyi1xyjjkr+4E+j3FVBW46nRNbbxu
> HktnHj3OQMIotpv9FAGv0jGJq+C87ca9fCQSg+4xV8fauSVWEkZXJHotRkZ+gTQS
> 3lOtU8+IAvSuxzlMGIWjUgwFXkSTSeN/SvWrbt0cdk/pINIumxl5ATaRQ/WK6gUD
> kqf9WMpbwUfvRuiNqnmmMWk5rPpBoLnoLWB3/wnFS+ksodZOcUGFDTRdGs0Ivo9h
> mlz+b31JhQoIFaxsWcucMuM0itpuzgfTEe2eYFe7sBbEY1p7W4fF3Lc+238ydu6q
> xqfTBUz0+ajIzmMIboLN6otGob5OcnwR7aUNMa97HYLnq81ryWHmNg==
> =4hGI
> -----END PGP SIGNATURE-----