From: "NAKAMURA, Hiroshi" Date: 2005-05-29T23:16:31+09:00 Subject: Re: wsdl2ruby.rb generated proxies and default parameters -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Sorry for late reply. John Lam wrote: > I was trying to port some working code that calls the Amazon > E-Commerce web services via SOAP calls to SOAP4R tonight. After quite > a bit of head-scratching, I realized that the default values for the > parameters passed to the constructors of the SOAP request message > types are nil. This causes the SOAP serializer to barf something > awful, and the stack trace was, um somewhat less than helpful :) Do you remember what version of soap4r did you use? I tried to support Amazon E-Commerce web services in soap4r-1.5.4 (released in 2005-05-22), but it may not be able to send requests correctly because I don't have an account... (see the comment at the bottom of sample/wsdl/amazonEC/client.rb in soap4r-1.5.4 *1). (*1) http://raa.ruby-lang.org/gonzui/markup/soap4r/sample/wsdl/amazonEC/client.rb Can I see what soap4r is "barf"-ing? I'll try to fix the problem. Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFCmc6df6b33ts2dPkRAvqSAKCNSEPKp/rIKA7wwg7ulaJQ4nBuDwCcC+sM GLYm1GbCc5qoFNF6F8ar/XM= =uN9k -----END PGP SIGNATURE-----