From: "NAKAMURA, Hiroshi" Date: 2007-06-18T22:34:12+09:00 Subject: Re: Problems with SOAP: duplicate XML declarations -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, ruby@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-----